Skip to main content

is_under_git

Function is_under_git 

Source
fn is_under_git(rel: &Path) -> bool
Expand description

Whether a root-relative path is under the root’s own .git - the walk drops it the way the watch does, with one ruling so the two cannot drift.