Struct git_command::Prepare
source · pub struct Prepare { /* private fields */ }
Expand description
Implementations
sourceimpl Prepare
impl Prepare
Builder
sourcepub fn with_shell(self) -> Self
pub fn with_shell(self) -> Self
If called, the command will not be executed directly, but with sh
.
This also allows to pass shell scripts as command, or use commands that contain arguments which are subsequently
parsed by sh
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Prepare
impl Send for Prepare
impl Sync for Prepare
impl Unpin for Prepare
impl UnwindSafe for Prepare
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more