pub struct WorktreeCleanup { /* private fields */ }Expand description
Main cleanup orchestrator
Implementations§
Source§impl WorktreeCleanup
impl WorktreeCleanup
pub fn new(config: WorktreeConfig, operations: WorktreeOperations) -> Self
Sourcepub async fn cleanup_worktrees(
&self,
options: CleanupOptions,
) -> Result<CleanupReport>
pub async fn cleanup_worktrees( &self, options: CleanupOptions, ) -> Result<CleanupReport>
Execute cleanup operation on all eligible worktrees
Auto Trait Implementations§
impl Freeze for WorktreeCleanup
impl RefUnwindSafe for WorktreeCleanup
impl Send for WorktreeCleanup
impl Sync for WorktreeCleanup
impl Unpin for WorktreeCleanup
impl UnsafeUnpin for WorktreeCleanup
impl UnwindSafe for WorktreeCleanup
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