MCPcopy
hub / github.com/dgraph-io/dgraph / runGitStatus

Function runGitStatus

dgraphtest/image.go:174–181  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

172}
173
174func runGitStatus() error {
175 cmd := exec.Command("git", "status")
176 cmd.Dir = repoDir
177 if out, err := cmd.CombinedOutput(); err != nil {
178 return errors.Wrapf(err, "error running git status\noutput:%v", string(out))
179 }
180 return nil
181}
182
183func runGitFetch() error {
184 cmd := exec.Command("git", "fetch", "-p")

Callers 1

ensureDgraphCloneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected