pub struct Outcome {
pub virtual_merge_bases: Vec<ObjectId>,
pub commit_id: ObjectId,
pub tree_id: ObjectId,
}
Expand description
The outcome produced by commit::merge_base()
.
Fields§
§virtual_merge_bases: Vec<ObjectId>
The commit ids of all the virtual merge bases we have produced in the process of recursively merging the merge-bases.
As they have been written to the object database, they are still available until they are garbage collected.
The last one is the most recently produced and the one returned as commit_id
.
This is never empty.
commit_id: ObjectId
The id of the commit that was created to hold the merged tree.
tree_id: ObjectId
The hash of the merged tree.
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnwindSafe for Outcome
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