Skip to main content

walk_dir

Function walk_dir 

Source
pub fn walk_dir(root: &Path, extensions: &[&str], max: usize) -> Vec<PathBuf>
Expand description

Walk root on the local file system (see FsTrait::walk).

Skips what git would ignore: .gitignore files at every level, .git/info/exclude, the global git excludes, and .ignore files, also outside a git repository. Hidden entries and skip_folders are always skipped. Entries are visited in name order.