pub struct WorktreeCleanupConfig {
pub age_threshold_hours: u64,
pub verify_remote: bool,
pub auto_delete_branch: bool,
pub require_confirmation: bool,
}Expand description
Configuration for cleanup operations
Fields§
§age_threshold_hours: u64Minimum age (hours) before worktree can be cleaned
verify_remote: boolVerify remote branch exists before cleanup
auto_delete_branch: boolAutomatically delete branch after worktree removal
require_confirmation: boolRequire confirmation for bulk operations
Trait Implementations§
Source§impl Clone for WorktreeCleanupConfig
impl Clone for WorktreeCleanupConfig
Source§fn clone(&self) -> WorktreeCleanupConfig
fn clone(&self) -> WorktreeCleanupConfig
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 WorktreeCleanupConfig
impl Debug for WorktreeCleanupConfig
Source§impl Default for WorktreeCleanupConfig
impl Default for WorktreeCleanupConfig
Source§impl<'de> Deserialize<'de> for WorktreeCleanupConfig
impl<'de> Deserialize<'de> for WorktreeCleanupConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for WorktreeCleanupConfig
impl RefUnwindSafe for WorktreeCleanupConfig
impl Send for WorktreeCleanupConfig
impl Sync for WorktreeCleanupConfig
impl Unpin for WorktreeCleanupConfig
impl UnsafeUnpin for WorktreeCleanupConfig
impl UnwindSafe for WorktreeCleanupConfig
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