Struct fast_walker::WalkPlan
source · pub struct WalkPlan {
pub check_list: Vec<PathBuf>,
pub follow_symlinks: bool,
pub depth_first: bool,
pub threads: usize,
pub reject_when: fn(_: &Path, _: usize) -> bool,
pub finish_when: fn(_: &WalkItem) -> bool,
}Fields§
§check_list: Vec<PathBuf>Initial paths to search
follow_symlinks: boolFollow symlinks
depth_first: boolDepth first search or breadth first search
threads: usizeNumber of threads to use
reject_when: fn(_: &Path, _: usize) -> boolCheck if a directory should be rejected
finish_when: fn(_: &WalkItem) -> boolStop if a item matches the condition