NewWorkspaceProvider creates a Provider for workspace mode (current uncommitted changes).
(repoDir string, runner *gitcmd.Runner)
| 119 | |
| 120 | // NewWorkspaceProvider creates a Provider for workspace mode (current uncommitted changes). |
| 121 | func NewWorkspaceProvider(repoDir string, runner *gitcmd.Runner) *Provider { |
| 122 | return &Provider{ |
| 123 | repoDir: repoDir, |
| 124 | mode: ModeWorkspace, |
| 125 | runner: runner, |
| 126 | } |
| 127 | } |
| 128 | |
| 129 | // InputResolution carries this run's frozen, immutable commit endpoints, per the |
| 130 | // run-manifest input-mode matrix. An empty field means "not applicable or not |
no outgoing calls