pub enum Strictness {
SelfContained,
Connected,
}Expand description
How hard git should look at the pack.
Variants§
SelfContained
Plain index-pack: every delta in the pack resolves inside it, and
nothing else. The honest question to ask of a set that is not
reachability-closed — an arbitrary subset’s tree will name a blob the
subset does not carry, and a connectivity walk would then be judging the
caller’s selection rather than this crate’s emitter.
Connected
--strict --check-self-contained-and-connected: what git clone itself
runs. Every received object’s links are walked and each one demanded, so
this is the arbiter for a request that is closed — a clone, a fetch,
or a whole repository.
Trait Implementations§
Source§impl Clone for Strictness
impl Clone for Strictness
Source§fn clone(&self) -> Strictness
fn clone(&self) -> Strictness
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 moreimpl Copy for Strictness
Source§impl Debug for Strictness
impl Debug for Strictness
impl Eq for Strictness
Source§impl PartialEq for Strictness
impl PartialEq for Strictness
impl StructuralPartialEq for Strictness
Auto Trait Implementations§
impl Freeze for Strictness
impl RefUnwindSafe for Strictness
impl Send for Strictness
impl Sync for Strictness
impl Unpin for Strictness
impl UnsafeUnpin for Strictness
impl UnwindSafe for Strictness
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.