Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/go-git/go-git
/ createBareRepository
Function
createBareRepository
_examples/common_test.go:99–101 ·
view source on GitHub ↗
(dir string)
Source
from the content-addressed store, hash-verified
97
}
98
99
func
createBareRepository(dir string) string {
100
return
createRepository(dir, true)
101
}
102
103
func
createRepository(dir string, isBare bool) string {
104
var
cmd *exec.Cmd
Callers
1
setEmptyRemote
Function · 0.85
Calls
1
createRepository
Function · 0.85
Tested by
no test coverage detected