pub struct FlatTreeEntry {
pub path: String,
pub mode: u32,
pub oid: ObjectId,
}Expand description
A single blob entry from a recursively flattened tree.
Fields§
§path: StringRepository-relative path using / separators (UTF-8 when valid; non-UTF-8 and literal
grit+pathhex: names use the same reversible encoding as the index).
mode: u32Git tree entry mode (file, symlink, gitlink, …).
oid: ObjectIdBlob or subtree object id for this path.
Trait Implementations§
Auto Trait Implementations§
impl Forget for FlatTreeEntry
impl Freeze for FlatTreeEntry
impl RefUnwindSafe for FlatTreeEntry
impl Send for FlatTreeEntry
impl Sync for FlatTreeEntry
impl Unpin for FlatTreeEntry
impl UnsafeUnpin for FlatTreeEntry
impl UnwindSafe for FlatTreeEntry
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