pub const MIN_DISCOVERY_ROOT_DEPTH: usize = 2;Expand description
Fewest path components a directory must have before discovery will scan it.
A repository cloned directly into the home directory has ~ as its parent, and
“scan the parent of every registered repository” would then mean walking the whole
home directory — every cache, every application-support tree, every cloud mount. The
depth floor is what stops one repository in the wrong place from turning a cheap
neighbourhood scan into a full-disk crawl.