pub fn walkdir_sorted_new(
root: &Path,
_: Parallelism,
max_depth: usize,
precompose_unicode: bool,
) -> WalkDirAvailable on crate feature
walkdir only.Expand description
Instantiate a new directory iterator which will not skip hidden files and is sorted, with the given level of parallelism.
Use precompose_unicode to represent the core.precomposeUnicode configuration option.
Use max_depth to limit the depth of the recursive walk.
0- Returns only the root path with no children
1- Root directory and children.
1..n- Root directory, children and {n}-grandchildren