fn catalog_scan_root(config_dir: &Path) -> Option<PathBuf>Expand description
The scan root for one config dir: the canonical parent of its
resolved projects dir, or the canonical config dir itself when
the resolved tree is not named projects (the walk descends into
<root>/projects, so the target’s parent would miss it). None
when there is no projects tree.