Expand description
An owned entry as observed by a call to visit_(tree|nontree)(…)
, enhanced with the full path to it.
Otherwise similar to git_object::tree::EntryRef
.
Fields
mode: EntryMode
The kind of entry, similar to entries in a unix directory tree.
filepath: BString
The full path to the entry. A root entry would be d
, and a file a
within the directory would be d/a
.
This is independent of the platform and the path separators actually used there.
oid: ObjectId
The id of the entry which can be used to locate it in an object database.
Trait Implementations
impl Eq for Entry
impl StructuralEq for Entry
impl StructuralPartialEq for Entry
Auto Trait Implementations
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
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