pub struct Record {
pub path: Vec<u8>,
pub mode: u32,
pub oid: ObjectId,
pub stat: Stat,
}Expand description
One verified clone, described the way the index describes it.
Fields§
§path: Vec<u8>§mode: u32The mode from the tree, which is what git would have written.
oid: ObjectId§stat: StatThe stat data of the clone itself, so git sees the path as up to date.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Record
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnsafeUnpin for Record
impl UnwindSafe for Record
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