Run the given git command with the given I/O reader/writers, returning an error if it fails.
(stdin io.Reader, stdout, stderr io.Writer, args ...string)
| 56 | |
| 57 | // Run the given git command with the given I/O reader/writers, returning an error if it fails. |
| 58 | func (repo *GitRepo) runGitCommandWithIO(stdin io.Reader, stdout, stderr io.Writer, args ...string) error { |
| 59 | return repo.runGitCommandWithIOAndEnv(stdin, stdout, stderr, nil, args...) |
| 60 | } |
| 61 | |
| 62 | // Run the given git command and return its stdout, or an error if the command fails. |
| 63 | func (repo *GitRepo) runGitCommandRaw(args ...string) (string, string, error) { |
no test coverage detected