Skip to main content

git

Function git 

Source
pub fn git(dir: &Path, args: &[&str]) -> Result<String>
Expand description

Runs git -C dir args, returning trimmed stdout or an error naming the command and its stderr. With no filesystem monitor: one names a program, and these calls carry the user’s credentials.