Enum git_repository::remote::fetch::Status
source · pub enum Status {
NoChange,
Change {
write_pack_bundle: Outcome,
update_refs: Outcome,
},
DryRun {
update_refs: Outcome,
},
}
Available on crate feature
blocking-network-client
and (crate features async-network-client
or blocking-network-client
) only.Expand description
The status of the repository after the fetch operation
Variants
NoChange
Nothing changed as the remote didn’t have anything new compared to our tracking branches.
Change
Fields
write_pack_bundle: Outcome
Information collected while writing the pack and its index.
update_refs: Outcome
Information collected while updating references.
There was at least one tip with a new object which we received.
DryRun
Fields
update_refs: Outcome
Information about what updates to refs would have been done.
A dry run was performed which leaves the local repository without any change nor will a pack have been received.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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