BurntSushi / walkdir

Rust library for walking directories recursively.
The Unlicense
1.21k stars 106 forks source link

Add option to iterate in a fixed order #102

Closed infinity0 closed 6 years ago

infinity0 commented 6 years ago

Currently the sort order is dependent on filesystem readdir() ordering, it would be useful for reproducible builds if we could fix this.

infinity0 commented 6 years ago

Sorry, just found sort_by in the docs.

BurntSushi commented 6 years ago

Could you please say why the sort_by method doesn't work for you?