pub enum PackFileKind {
Data,
Index,
}Expand description
The two files a packed git object store is made of.
A git-format archive holds either loose canonical objects keyed by oid
or a repository’s packs. The second is what gunnar’s repack() produces
and what its cold tier seals: a pack keeps the client’s own deflate and its
delta chains, both of which an inflated per-oid tier destroys forever.
Variants§
Data
pack-<id>.pack — the entries themselves, every one already deflated.
Index
pack-<id>.idx — the pack’s own oid index.
Implementations§
Trait Implementations§
Source§impl Clone for PackFileKind
impl Clone for PackFileKind
Source§fn clone(&self) -> PackFileKind
fn clone(&self) -> PackFileKind
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 PackFileKind
Source§impl Debug for PackFileKind
impl Debug for PackFileKind
impl Eq for PackFileKind
Source§impl Hash for PackFileKind
impl Hash for PackFileKind
Source§impl PartialEq for PackFileKind
impl PartialEq for PackFileKind
impl StructuralPartialEq for PackFileKind
Auto Trait Implementations§
impl Freeze for PackFileKind
impl RefUnwindSafe for PackFileKind
impl Send for PackFileKind
impl Sync for PackFileKind
impl Unpin for PackFileKind
impl UnsafeUnpin for PackFileKind
impl UnwindSafe for PackFileKind
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.