* Alias for `listWorktrees()`, returns just the paths. * Kept for backward compatibility with existing callers.
()
| 680 | * Kept for backward compatibility with existing callers. |
| 681 | */ |
| 682 | async list(): Promise<string[]> { |
| 683 | const worktrees = await this.listWorktrees(); |
| 684 | return worktrees.map((w) => w.path); |
| 685 | } |
| 686 | |
| 687 | // ── Private Helpers ───────────────────────────────────────────────────────── |
| 688 |
no test coverage detected