Count file stats ordered by file name
This commit is contained in:
parent
cf8ab2884f
commit
55ea5af779
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ fn count(run: &RunInProgress, path: &Path) -> somehow::Result<Counts> {
|
|||
.unwrap();
|
||||
|
||||
let mut counts = Counts::default();
|
||||
for entry in WalkDir::new(path) {
|
||||
for entry in WalkDir::new(path).sort_by_file_name() {
|
||||
let entry = entry?;
|
||||
if !entry.file_type().is_file() {
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue