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

Function tempFolder

_examples/common_test.go:85–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83}
84
85func tempFolder() string {
86 path, err := os.MkdirTemp("", "")
87 CheckIfError(err)
88
89 tempFolders = append(tempFolders, path)
90 return path
91}
92
93func cloneRepository(url, folder string) string {
94 cmd := exec.Command("git", "clone", url, folder)

Callers 2

common_test.goFile · 0.85
setEmptyRemoteFunction · 0.85

Calls 1

CheckIfErrorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…