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

Function cloneRepository

_examples/common_test.go:93–99  ·  view source on GitHub ↗
(url, folder string)

Source from the content-addressed store, hash-verified

91}
92
93func cloneRepository(url, folder string) string {
94 cmd := exec.Command("git", "clone", url, folder)
95 err := cmd.Run()
96 CheckIfError(err)
97
98 return folder
99}
100
101func createBareRepository(dir string) string {
102 return createRepository(dir, true)

Callers 1

common_test.goFile · 0.85

Calls 2

CheckIfErrorFunction · 0.85
CommandMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…