(params: WorkspaceForkParams)
| 151 | } |
| 152 | |
| 153 | async forkWorkspace(params: WorkspaceForkParams): Promise<WorkspaceForkResult> { |
| 154 | // Resolve the source path through this runtime's override-aware getWorkspacePath so forks |
| 155 | // FROM a workspace with a persisted path override (e.g. an isolation: "none" task sharing |
| 156 | // its parent's checkout) read the real source checkout, not a name-derived path. |
| 157 | return this.worktreeManager.forkWorkspace(params, { |
| 158 | sourceWorkspacePath: this.getWorkspacePath(params.projectPath, params.sourceWorkspaceName), |
| 159 | }); |
| 160 | } |
| 161 | } |
nothing calls this directly
no test coverage detected