pub struct TreeishBlobAtPath {
pub path: String,
pub oid: ObjectId,
pub mode: String,
}Expand description
Resolved blob (non-tree) at treeish:path for diff plumbing.
Returns the repository-relative path, blob OID, and Git mode string (e.g. "100644").
Fields§
§path: StringPath used in diff --git / --- / +++ headers (tree path, /-separated).
oid: ObjectIdObject id of the blob.
mode: StringFile mode as in tree objects (100644, 100755, 120000, …).
Trait Implementations§
Source§impl Clone for TreeishBlobAtPath
impl Clone for TreeishBlobAtPath
Source§fn clone(&self) -> TreeishBlobAtPath
fn clone(&self) -> TreeishBlobAtPath
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TreeishBlobAtPath
impl RefUnwindSafe for TreeishBlobAtPath
impl Send for TreeishBlobAtPath
impl Sync for TreeishBlobAtPath
impl Unpin for TreeishBlobAtPath
impl UnsafeUnpin for TreeishBlobAtPath
impl UnwindSafe for TreeishBlobAtPath
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