pub struct SystemGitConfigProvider { /* private fields */ }Expand description
System adapter for git signing configuration.
Runs git config <scope> <key> <value> via std::process::Command.
Construct with SystemGitConfigProvider::global() or
SystemGitConfigProvider::local(repo_path).
Usage:
ⓘ
let provider = SystemGitConfigProvider::global();
provider.set("gpg.format", "ssh")?;Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SystemGitConfigProvider
impl RefUnwindSafe for SystemGitConfigProvider
impl Send for SystemGitConfigProvider
impl Sync for SystemGitConfigProvider
impl Unpin for SystemGitConfigProvider
impl UnsafeUnpin for SystemGitConfigProvider
impl UnwindSafe for SystemGitConfigProvider
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more