Skip to main content

scan

Function scan 

Source
pub fn scan(
    roots: &[PathBuf],
    labels: &[(PathBuf, String)],
    scan_depth: usize,
    need_ahead_behind: bool,
    repo_filter: Option<&str>,
) -> (Vec<OpenLoop>, Vec<String>)
Expand description

Scans all repos found under the roots in parallel.

repo_filter, when set, retains only repos whose canonical name (from dedup) matches before open_loops runs. Individual repo failures become warnings and never abort the scan.