pub struct MergeOptions {
pub ignore_mergeinfo: bool,
pub diff_ignore_ancestry: bool,
pub force_delete: bool,
pub record_only: bool,
pub dry_run: bool,
pub allow_mixed_rev: bool,
pub diff_options: Vec<String>,
}Expand description
Options for merge operations
Fields§
§ignore_mergeinfo: boolIgnore mergeinfo during the merge
diff_ignore_ancestry: boolIgnore ancestry when computing differences
force_delete: boolForce deletion of locally modified or unversioned files
record_only: boolOnly record the merge, don’t apply changes
dry_run: boolPerform a dry run (no actual changes)
allow_mixed_rev: boolAllow merge into a mixed-revision working copy
diff_options: Vec<String>Additional diff options (e.g., “-b”, “-w”, “–ignore-eol-style”)
Trait Implementations§
Source§impl Clone for MergeOptions
impl Clone for MergeOptions
Source§fn clone(&self) -> MergeOptions
fn clone(&self) -> MergeOptions
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 moreSource§impl Debug for MergeOptions
impl Debug for MergeOptions
Source§impl Default for MergeOptions
impl Default for MergeOptions
Source§fn default() -> MergeOptions
fn default() -> MergeOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MergeOptions
impl RefUnwindSafe for MergeOptions
impl Send for MergeOptions
impl Sync for MergeOptions
impl Unpin for MergeOptions
impl UnsafeUnpin for MergeOptions
impl UnwindSafe for MergeOptions
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