Skip to main content

find_git

Function find_git 

Source
pub fn find_git() -> Result<PathBuf>
Expand description

Locate the git binary, returning Error::GitNotFound if missing.

Commands don’t call this on every execution — tokio’s Command::new("git") already reports a helpful IO error we translate. This helper is for callers that want to verify availability up front.