pub struct CombinedDiffPath {
pub path: String,
pub merge_mode: u32,
pub merge_oid: ObjectId,
pub parents: Vec<CombinedParentSide>,
}Expand description
One path in a combined diff: merge result tree vs each parent tree.
Fields§
§path: StringPath relative to repository root.
merge_mode: u32Mode and OID on the merge result side (0 / zero OID when deleted from merge).
merge_oid: ObjectId§parents: Vec<CombinedParentSide>One slot per parent commit (same order as parents passed to combined_diff_paths_filtered).
Trait Implementations§
Source§impl Clone for CombinedDiffPath
impl Clone for CombinedDiffPath
Source§fn clone(&self) -> CombinedDiffPath
fn clone(&self) -> CombinedDiffPath
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 CombinedDiffPath
impl RefUnwindSafe for CombinedDiffPath
impl Send for CombinedDiffPath
impl Sync for CombinedDiffPath
impl Unpin for CombinedDiffPath
impl UnsafeUnpin for CombinedDiffPath
impl UnwindSafe for CombinedDiffPath
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