pub fn scan_repo( repo_root: &Path, extra: &[String], rules: &Rules, ) -> Result<RepoStats, ReviewError>
scan over the index plus extra untracked paths, index read included, on the caller’s thread.
scan
extra