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§fn clone(&self) -> IndexPathEntry
fn clone(&self) -> IndexPathEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IndexPathEntry
impl Debug for IndexPathEntry
Source§impl PartialEq for IndexPathEntry
impl PartialEq for IndexPathEntry
impl Eq 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