Skip to main content

live_foreign_git_dir

Function live_foreign_git_dir 

Source
fn live_foreign_git_dir(repo: &Path, path: &Path) -> Option<String>
Expand description

Why the .git link at path names a LIVE git dir that is not this repo’s, when it does; None when it names this repo’s common dir or the git dir is gone. A stale or absent target is not proof of foreign ownership on its own, so callers weigh it separately.