Skip to main content

scan

Function scan 

Source
pub fn scan(root: &Path, skip: &Path) -> Vec<DiscoveredRepo>
Expand description

Recursively scan root for canonical repos, skipping skip (rq’s own data dir, so tool-managed clones never get picked up as if they were user checkouts) and any dot-directory. Errors reading a directory (permissions, races) are treated as “nothing here”, not fatal - a workdir scan shouldn’t abort over one unreadable subdirectory.