Skip to main content

scan_repo

Function scan_repo 

Source
pub fn scan_repo(
    repo_root: &Path,
    extra: &[String],
    rules: &Rules,
) -> Result<RepoStats, ReviewError>
Expand description

Scan a checkout from its root, opening the backend here so the whole job, the index read included, happens on the caller’s thread. extra carries what git does not track yet, the status screen’s untracked files.