MCPcopy Index your code
hub / github.com/google/git-appraise / GitRepo

Struct GitRepo

repository/git.go:42–44  ·  view source on GitHub ↗

GitRepo represents an instance of a (local) git repository.

Source from the content-addressed store, hash-verified

40
41// GitRepo represents an instance of a (local) git repository.
42type 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.
47func (repo *GitRepo) runGitCommandWithIOAndEnv(stdin io.Reader, stdout, stderr io.Writer, env []string, args ...string) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected