WorktreePath returns the worktree path for an environment, handling errors
(envID string)
| 305 | |
| 306 | // WorktreePath returns the worktree path for an environment, handling errors |
| 307 | func (u *UserActions) WorktreePath(envID string) string { |
| 308 | worktreePath, err := u.repo.WorktreePath(envID) |
| 309 | require.NoError(u.t, err, "Failed to get worktree path for environment %s", envID) |
| 310 | return worktreePath |
| 311 | } |
| 312 | |
| 313 | // ReadWorktreeFile reads directly from an environment's worktree |
| 314 | func (u *UserActions) ReadWorktreeFile(envID, path string) string { |
no outgoing calls