Skip to content

Commit

Permalink
feat: sort entries in inspection mode
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Apr 22, 2024
1 parent ceda4a9 commit 7686ea3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ fn do_inspection(

// Print the first few top-level files in the directory
for entry in WalkDir::new(source)
.sort(true)
.min_depth(1)
.max_depth(1)
.try_into_iter()?
Expand Down

0 comments on commit 7686ea3

Please sign in to comment.