MCPcopy Create free account
hub / github.com/docker/secrets-engine / runGitIn

Function runGitIn

x/release/command_test.go:113–119  ·  view source on GitHub ↗
(t *testing.T, dir string, args ...string)

Source from the content-addressed store, hash-verified

111}
112
113func runGitIn(t *testing.T, dir string, args ...string) {
114 t.Helper()
115 cmd := exec.Command("git", args...)
116 cmd.Dir = dir
117 out, err := cmd.CombinedOutput()
118 require.NoError(t, err, "git %v: %s", args, out)
119}

Callers 2

newGitRepoWithRemoteFunction · 0.85
runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected