pub fn remove_workspace(
paths: &Paths,
key: &ReviewKey,
force: bool,
) -> Result<()>Expand description
Delete the local workspace of a review’s stack on demand - the d hotkey in rq show’s TUI.
Acts regardless of resolved/in_queue, unlike sync()’s own resolved-and-clean removal
path, and on every review in the stack, since they share the one workspace.
A dirty workspace is left untouched and surfaces as WorkspaceDirty (downcast_ref it)
unless force is set, in which case whatever the backend’s own remove_workspace can’t clean
up on a dirty worktree (it assumes a clean one) is finished off with a raw directory removal.