This commit is contained in:
Tom Alexander 2022-02-13 21:29:02 -05:00
parent 3ccc66b5d7
commit dd5cc6ffab
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -13,9 +13,13 @@ fn main() {
for entry in WalkDir::new(dir) {
let entry = entry.unwrap();
if entry.file_type().is_file() {
eprintln!("{}", entry.path().display());
files.push(entry);
}
}
}
files.sort_by_key(|file| file.path().to_owned());
for f in files {
println!("{}", f.path().display());
}
}