Skip to main content

inspect

Function inspect 

Source
pub fn inspect(root: &Path) -> GitState
Expand description

Ask git about root. Never fails: a missing git or a directory that is not a work tree becomes GitState::Unavailable with the reason.