pub fn global_scan(base_dir: Option<&Path>) -> Result<()>
Scan for repositories (improved format matching Python).