MCPcopy Index your code
hub / github.com/go-git/go-git / ExecuteOnPath

Function ExecuteOnPath

repository_test.go:3282–3289  ·  view source on GitHub ↗
(c *C, path string, cmds ...string)

Source from the content-addressed store, hash-verified

3280}
3281
3282func ExecuteOnPath(c *C, path string, cmds ...string) error {
3283 for _, cmd := range cmds {
3284 err := executeOnPath(path, cmd)
3285 c.Assert(err, IsNil)
3286 }
3287
3288 return nil
3289}
3290
3291func executeOnPath(path, cmd string) error {
3292 args := strings.Split(cmd, " ")

Callers 1

TestPullAddMethod · 0.85

Calls 1

executeOnPathFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…