pub struct CommitPlan {
pub files: Vec<CommitFile>,
pub parents: Vec<ObjectId>,
pub author: CommitAuthorInfo,
pub tree_unchanged: bool,
}Expand description
Planned commit contents and metadata (see plan_commit).
Fields§
§files: Vec<CommitFile>Paths that differ from the parent tree, in git diff --name-status order.
parents: Vec<ObjectId>Parent OIDs that would be stored on the new commit.
Author line that would be recorded.
tree_unchanged: boolWhether the computed tree OID equals the parent tree.
Trait Implementations§
Source§impl Clone for CommitPlan
impl Clone for CommitPlan
Source§impl Debug for CommitPlan
impl Debug for CommitPlan
impl Eq for CommitPlan
Source§impl PartialEq for CommitPlan
impl PartialEq for CommitPlan
impl StructuralPartialEq for CommitPlan
Auto Trait Implementations§
impl Freeze for CommitPlan
impl RefUnwindSafe for CommitPlan
impl Send for CommitPlan
impl Sync for CommitPlan
impl Unpin for CommitPlan
impl UnsafeUnpin for CommitPlan
impl UnwindSafe for CommitPlan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.