Open ShayBox opened 1 year ago
Can you provide a full reproduction? Otherwise this might be something you'll have to debug on your own.
@ShayBox it might be because you're thinking that it sorts by file name, while in fact, it sorts by sub-folder first (by full path).
This got me confused as well at first, and ended up here, then I realised that even though it says by_file_name
, it's really by_path_alphabetical
.
HTH.
This leads to the outcome being random every time the program is run
EDIT: I'm on
Windows 11 22H2 (22621.1778)
using the latest stable Rust and walkdir