Skip to main content

walk_project_paths_while

Function walk_project_paths_while 

Source
pub fn walk_project_paths_while(
    root: &Path,
    access: IgnoreFileAccess,
    include: impl Fn(&Path) -> bool + Send + Sync + 'static,
    keep_walking: impl Fn() -> bool + Send + Sync + 'static,
) -> impl Iterator<Item = PathBuf>
Expand description

Walk all non-excluded files under a root, using the same bounded iterator and ignore rules as the source-file census. Caller-excluded paths are pruned before descent.