Skip to main content

candidate_roots

Function candidate_roots 

Source
pub fn candidate_roots(registry: &Registry) -> Vec<PathBuf>
Expand description

Every root worth walking, with the ones contained in another root removed.

Without the containment pass, a registry holding ~/Code/api and ~/Code/api/web would walk ~/Code twice over — once per parent — and a machine with fifty repositories in one tree would walk it fifty times.