pub struct IndexPathEntry {
pub path: String,
pub oid: ObjectId,
pub mode: u32,
}Expand description
One index entry resolved from a :path / :N:path revision string.
Fields§
§path: StringRepository-relative path using / separators (normalized from the spec).
oid: ObjectIdBlob OID stored for this index entry.
mode: u32Index entry mode (e.g. 0o100644).
Trait Implementations§
Source§impl Clone for IndexPathEntry
impl Clone for IndexPathEntry
Source§impl Debug for IndexPathEntry
impl Debug for IndexPathEntry
impl Eq for IndexPathEntry
Source§impl PartialEq for IndexPathEntry
impl PartialEq for IndexPathEntry
impl StructuralPartialEq for IndexPathEntry
Auto Trait Implementations§
impl Freeze for IndexPathEntry
impl RefUnwindSafe for IndexPathEntry
impl Send for IndexPathEntry
impl Sync for IndexPathEntry
impl Unpin for IndexPathEntry
impl UnsafeUnpin for IndexPathEntry
impl UnwindSafe for IndexPathEntry
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
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§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.