Struct ignore::WalkParallel [] [src]

pub struct WalkParallel { /* fields omitted */ }

WalkParallel is a parallel recursive directory iterator over files paths in one or more directories.

Only file and directory paths matching the rules are returned. By default, ignore files like .gitignore are respected. The precise matching rules and precedence is explained in the documentation for WalkBuilder.

Unlike Walk, this uses multiple threads for traversing a directory.

Methods

impl WalkParallel
[src]

Execute the parallel recursive directory iterator. mkf is called for each thread used for iteration. The function produced by mkf is then in turn called for each visited file path.