pub struct Clone<'a> { /* private fields */ }Expand description
Builder for git clone command.
See git clone --help for full documentation.
Implementations§
Source§impl<'a> Clone<'a>
impl<'a> Clone<'a>
Sourcepub fn env_policy(self, policy: EnvPolicy) -> Self
pub fn env_policy(self, policy: EnvPolicy) -> Self
Set the EnvPolicy controlling which inherited
GIT_* variables are cleared before spawning git.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for Clone<'a>
impl<'a> Freeze for Clone<'a>
impl<'a> Move for Clone<'a>
impl<'a> RefUnwindSafe for Clone<'a>
impl<'a> Send for Clone<'a>
impl<'a> Sync for Clone<'a>
impl<'a> Unpin for Clone<'a>
impl<'a> UnsafeUnpin for Clone<'a>
impl<'a> UnwindSafe for Clone<'a>
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