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