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: EntryModeThe kind of entry, similar to entries in a unix directory tree.
filepath: BStringThe 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: ObjectIdThe 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more