pub struct PurgeOptions {
pub paths: Vec<String>,
pub apply: bool,
}Expand description
Options for purge_paths.
Fields§
§paths: Vec<String>Exact repo paths to strip from ALL history, e.g. ["docs/book.pdf"].
Nested paths are supported (the tree editor descends component-by-
component and drops subtrees that become empty).
apply: boolfalse (default) = dry-run: report only, mutate nothing. true = perform
the rewrite (after writing the backup).
Trait Implementations§
Source§impl Clone for PurgeOptions
impl Clone for PurgeOptions
Source§fn clone(&self) -> PurgeOptions
fn clone(&self) -> PurgeOptions
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 moreAuto Trait Implementations§
impl Freeze for PurgeOptions
impl RefUnwindSafe for PurgeOptions
impl Send for PurgeOptions
impl Sync for PurgeOptions
impl Unpin for PurgeOptions
impl UnsafeUnpin for PurgeOptions
impl UnwindSafe for PurgeOptions
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