pub fn target_allowed(target: &Path, repository_dir: &Path) -> boolExpand description
Whether discovery may touch target, a gitdir or commondir target joined to its base (design §5.3).
An allow-list: on Windows only a local drive, or the network share repository_dir itself lives on.