pub trait GitCli {
// Required method
fn run_raw(&self, repo: &Path, args: &[&str]) -> Result<GitOutput>;
// Provided method
fn run(&self, repo: &Path, args: &[&str]) -> Result<String> { ... }
}Expand description
Runs git subcommands in a repository. Mutations and network operations go
through this boundary (reads use gix where possible).
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".