MCPcopy Create free account
hub / github.com/aclements/go-misc / tryGit

Function tryGit

git-p/git.go:32–39  ·  view source on GitHub ↗

tryGit runs git with args and returns its output and a non-nil error if the command exits with a non-zero status.

(args ...string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

upstreamOfFunction · 0.85
gitCommitMessageFunction · 0.85
mainFunction · 0.85

Calls 1

shellEscapeListFunction · 0.70

Tested by

no test coverage detected