pub fn is_git_repo(root: &Path) -> boolExpand description
Whether root is inside a git work tree. Implicit (opportunistic) indexing
is gated on this so a stray query never walks a non-repo directory. Native
(no git fork) — it runs on every search.