pub struct TreeBlob {
pub path: PathBuf,
pub blob_oid: String,
pub size: u64,
}Expand description
One blob found while walking a tree, before any pointer-parsing or
size-based filtering. Paths and OIDs are reported verbatim from
git ls-tree.
Fields§
§path: PathBufWorking-tree path of the blob.
blob_oid: StringGit blob OID (the SHA-1 of the blob in the object database).
size: u64Size of the blob in bytes, per cat-file --batch-check.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TreeBlob
impl RefUnwindSafe for TreeBlob
impl Send for TreeBlob
impl Sync for TreeBlob
impl Unpin for TreeBlob
impl UnsafeUnpin for TreeBlob
impl UnwindSafe for TreeBlob
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