pub struct GitRunner { /* private fields */ }Implementations§
Source§impl GitRunner
impl GitRunner
pub fn new() -> Self
pub fn inner(&self) -> &ProcessRunner
pub fn into_inner(self) -> ProcessRunner
Trait Implementations§
Source§impl Runner for GitRunner
impl Runner for GitRunner
fn kind(&self) -> RunnerKind
fn binary(&self) -> &str
fn prefix_args(&self) -> &[String]
fn describe( &self, command: impl Into<String>, collect: bool, cwd: Option<PathBuf>, ) -> RunnerCommand
fn raw_full_command(&self, command: impl AsRef<str>) -> String
fn execute( &self, command: impl Into<String>, collect: bool, cwd: Option<PathBuf>, ) -> Result<RunnerExecution>
fn run( &self, command: impl Into<String>, collect: bool, cwd: Option<PathBuf>, ) -> Result<Option<String>>
impl Eq for GitRunner
impl StructuralPartialEq for GitRunner
Auto Trait Implementations§
impl Freeze for GitRunner
impl RefUnwindSafe for GitRunner
impl Send for GitRunner
impl Sync for GitRunner
impl Unpin for GitRunner
impl UnsafeUnpin for GitRunner
impl UnwindSafe for GitRunner
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.