Skip to main content

worktree_remove

Function worktree_remove 

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

Remove a worktree. Returns Ok(false) when git refused (e.g. the path is already gone), so callers can keep folding the rest of a run.