pub trait GitConfig {
// Required method
fn get(&self, key: &str) -> Option<String>;
}Expand description
Abstraction over git config --get <key> so tests can avoid a real git
binary.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".