pub struct CommitGitIndexPlan {
pub commit_mode: &'static str,
pub has_staged_changes: bool,
pub staged_paths: Vec<String>,
pub unstaged_paths: Vec<String>,
pub untracked_paths: Vec<String>,
pub will_commit: Vec<String>,
pub preserved_after_commit: Vec<String>,
}Expand description
Pure commit index plan for internal Git projection writes.
Fields§
§commit_mode: &'static str§has_staged_changes: bool§staged_paths: Vec<String>§unstaged_paths: Vec<String>§untracked_paths: Vec<String>§will_commit: Vec<String>§preserved_after_commit: Vec<String>Trait Implementations§
Source§impl Clone for CommitGitIndexPlan
impl Clone for CommitGitIndexPlan
Source§fn clone(&self) -> CommitGitIndexPlan
fn clone(&self) -> CommitGitIndexPlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommitGitIndexPlan
impl Debug for CommitGitIndexPlan
impl Eq for CommitGitIndexPlan
Source§impl PartialEq for CommitGitIndexPlan
impl PartialEq for CommitGitIndexPlan
impl StructuralPartialEq for CommitGitIndexPlan
Auto Trait Implementations§
impl Freeze for CommitGitIndexPlan
impl RefUnwindSafe for CommitGitIndexPlan
impl Send for CommitGitIndexPlan
impl Sync for CommitGitIndexPlan
impl Unpin for CommitGitIndexPlan
impl UnsafeUnpin for CommitGitIndexPlan
impl UnwindSafe for CommitGitIndexPlan
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