Skip to main content

worktree_remove

Function worktree_remove 

Source
pub async fn worktree_remove(repo: &Path, path: &Path) -> Result<bool>
Expand description

Force removal of a disposable worktree, including build output or conflicts. Candidate work must use worktree_remove_clean instead. Returns Ok(false) on refusal; callers must retain their ownership record.