WorktreePathForPRD returns the worktree path for a given PRD name.
(baseDir, prdName string)
| 182 | |
| 183 | // WorktreePathForPRD returns the worktree path for a given PRD name. |
| 184 | func WorktreePathForPRD(baseDir, prdName string) string { |
| 185 | return filepath.Join(baseDir, ".chief", "worktrees", prdName) |
| 186 | } |
| 187 | |
| 188 | // PruneWorktrees runs `git worktree prune` to clean up stale worktree tracking. |
| 189 | func PruneWorktrees(repoDir string) error { |
no outgoing calls