* List all worktrees with parsed metadata. * Parses `git worktree list --porcelain` output.
()
| 100 | * Parses `git worktree list --porcelain` output. |
| 101 | */ |
| 102 | async listWorktrees(): Promise<WorktreeInfo[]> { |
| 103 | const result = await execGit(this.repoPath, ['worktree', 'list', '--porcelain']); |
| 104 | return this.parseWorktreeListOutput(result); |
| 105 | } |
| 106 | |
| 107 | /** |
| 108 | * Get branch divergence status (ahead/behind) relative to a base branch. |
no test coverage detected