pub struct CleanupOptions {
pub strategy: CleanupStrategy,
pub min_age_hours: Option<u64>,
pub force: bool,
pub dry_run: bool,
pub auto_confirm: bool,
pub branch_prefix_filter: Option<String>,
pub merged_only: bool,
pub min_merge_confidence: f32,
}Expand description
Options for cleanup operations
Fields§
§strategy: CleanupStrategyStrategy to use for cleanup
min_age_hours: Option<u64>Minimum age threshold for cleanup eligibility
force: boolForce cleanup even with safety violations
dry_run: boolShow what would be done without executing
auto_confirm: boolSkip interactive confirmations
branch_prefix_filter: Option<String>Only clean worktrees with specific branch prefix
merged_only: boolOnly clean worktrees that are confirmed merged
min_merge_confidence: f32Minimum merge confidence required (0.0-1.0)
Trait Implementations§
Source§impl Clone for CleanupOptions
impl Clone for CleanupOptions
Source§fn clone(&self) -> CleanupOptions
fn clone(&self) -> CleanupOptions
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 CleanupOptions
impl Debug for CleanupOptions
Auto Trait Implementations§
impl Freeze for CleanupOptions
impl RefUnwindSafe for CleanupOptions
impl Send for CleanupOptions
impl Sync for CleanupOptions
impl Unpin for CleanupOptions
impl UnsafeUnpin for CleanupOptions
impl UnwindSafe for CleanupOptions
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