MCPcopy Create free account
hub / github.com/go-git/go-git / tempFolder

Function tempFolder

_examples/common_test.go:83–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81}
82
83func tempFolder() string {
84 path, err := os.MkdirTemp("", "")
85 CheckIfError(err)
86
87 tempFolders = append(tempFolders, path)
88 return path
89}
90
91func cloneRepository(url, folder string) string {
92 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