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

Function createRepositoryWithRemote

_examples/common_test.go:116–120  ·  view source on GitHub ↗
(local, remote string)

Source from the content-addressed store, hash-verified

114}
115
116func createRepositoryWithRemote(local, remote string) string {
117 createRepository(local, false)
118 addRemote(local, remote)
119 return local
120}
121
122func setEmptyRemote(dir string) string {
123 remote := createBareRepository(tempFolder())

Callers 1

common_test.goFile · 0.85

Calls 2

createRepositoryFunction · 0.85
addRemoteFunction · 0.85

Tested by

no test coverage detected