feat(FN-4678): add removeWorktree helper to worktree-backend

Adds a `removeWorktree` helper to the worktree backend with corresponding unit tests, and wires it into the worktree pool.

Fusion-Task-Id: FN-4678
This commit is contained in:
Fusion (runfusion.ai)
2026-05-15 22:44:36 -07:00
committed by gsxdsm
parent 401094c6a9
commit 156392410a
3 changed files with 139 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ export {
NativeWorktreeBackend,
WorktrunkOperationError,
WorktrunkWorktreeBackend,
removeWorktree,
resolveWorktreeBackend,
} from "./worktree-backend.js";
export type { WorktreeBackend, WorktreeBackendKind } from "./worktree-backend.js";