Skip to main content

is_git_installed

Function is_git_installed 

Source
pub fn is_git_installed(dir: &Path) -> bool
Expand description

True when dir looks installed by add: a .git directory with an origin remote. Hand-copied plugins have no .git; a bare git init has .git but no remote. The Settings UI uses this to decide which rows offer Update/Remove.