Function xvc_walker::walk_serial
source · pub fn walk_serial(
ignore_rules: IgnoreRules,
dir: &Path,
walk_options: &WalkOptions,
res_paths: &mut Vec<Result<PathMetadata>>
) -> Result<IgnoreRules>Expand description
Walk dir with walk_options, with the given initial ignore_rules.
Note that ignore rules are expanded with the rules given in the ignore_filename in
walk_options.
The result is added to given res_paths to reduce the number of memory inits for vec.
It collects all PathMetadata of the child paths.
Filters paths with the rules found in child directories and the given ignore_rules.