pub struct TreeEntry {
pub mode: u32,
pub name: Vec<u8>,
pub oid: ObjectId,
}Expand description
A single entry in a Git tree object.
Fields§
§mode: u32Unix file mode (e.g. 0o100644 for a regular file, 0o040000 for a tree).
name: Vec<u8>Entry name (file or directory name only, no path separators).
oid: ObjectIdThe object ID of the blob or sub-tree.
Implementations§
Trait Implementations§
impl Eq for TreeEntry
impl StructuralPartialEq for TreeEntry
Auto Trait Implementations§
impl Freeze for TreeEntry
impl RefUnwindSafe for TreeEntry
impl Send for TreeEntry
impl Sync for TreeEntry
impl Unpin for TreeEntry
impl UnsafeUnpin for TreeEntry
impl UnwindSafe for TreeEntry
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