GitRepo represents an instance of a (local) git repository.
| 40 | |
| 41 | // GitRepo represents an instance of a (local) git repository. |
| 42 | type GitRepo struct { |
| 43 | Path string |
| 44 | } |
| 45 | |
| 46 | // Run the given git command with the given I/O reader/writers and environment, returning an error if it fails. |
| 47 | func (repo *GitRepo) runGitCommandWithIOAndEnv(stdin io.Reader, stdout, stderr io.Writer, env []string, args ...string) error { |
nothing calls this directly
no outgoing calls
no test coverage detected