MCPcopy Create free account
hub / github.com/agent-tower/core / prune

Method prune

packages/server/src/git/worktree.manager.ts:545–547  ·  view source on GitHub ↗

* Prune stale worktree references.

()

Source from the content-addressed store, hash-verified

543 * Prune stale worktree references.
544 */
545 async prune(): Promise<void> {
546 await execGit(this.repoPath, ['worktree', 'prune']);
547 }
548
549 // ── Rebase & Git Operation Status ──────────────────────────────────────────
550

Callers 5

removeMethod · 0.95
ensureWorktreeExistsMethod · 0.95
pruneAllWorktreesMethod · 0.95
cleanupSnapshotMethod · 0.95

Calls 1

execGitFunction · 0.70

Tested by

no test coverage detected