NewWorkspaceProvider creates a Provider for workspace mode (current uncommitted changes).
(repoDir string, runner *gitcmd.Runner)
| 83 | |
| 84 | // NewWorkspaceProvider creates a Provider for workspace mode (current uncommitted changes). |
| 85 | func NewWorkspaceProvider(repoDir string, runner *gitcmd.Runner) *Provider { |
| 86 | return &Provider{ |
| 87 | repoDir: repoDir, |
| 88 | mode: ModeWorkspace, |
| 89 | runner: runner, |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | // InputResolution carries this run's frozen, immutable commit endpoints, per the |
| 94 | // run-manifest input-mode matrix. An empty field means "not applicable or not |
no outgoing calls