Closed KodrAus closed 7 years ago
I can fix this. Where this has to be fixed in the docs?
Thanks @alisha17!
See this paragraph in the docs for WalkDir
.
They state that directories are always emitted before the contents, and that using sort_by
means the items will be emitted according to that ordering.
Let me know if you need any more details.
Fixed by #74
The docs on
WalkDir
have a few inaccuracies about the behaviour that should be corrected:contents_first
istrue
, then directories aren't emitted before their contentssort_by
function is given. Or does 'unspecified' mean something different here?