Skip to main content

is_repository

Function is_repository 

Source
pub fn is_repository(root: &Path) -> bool
Expand description

Whether a repository covers root at all.

tracked answers “nothing” both for an empty index and for a tree with no repository. Those are different states: a file the index does not carry is untracked only where an index exists to not carry it.