pub struct CloneOutcome {
pub git_dir: PathBuf,
pub branch_oid: ObjectId,
}Expand description
The structured result of a clone.
Fields§
§git_dir: PathBufThe destination repository’s $GIT_DIR (the .git directory created by
the init step). The caller uses it for its post-checkout steps.
branch_oid: ObjectIdThe object id the local branch was created at (the fetched remote tip).
Trait Implementations§
Source§impl Clone for CloneOutcome
impl Clone for CloneOutcome
Source§fn clone(&self) -> CloneOutcome
fn clone(&self) -> CloneOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CloneOutcome
impl RefUnwindSafe for CloneOutcome
impl Send for CloneOutcome
impl Sync for CloneOutcome
impl Unpin for CloneOutcome
impl UnsafeUnpin for CloneOutcome
impl UnwindSafe for CloneOutcome
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