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

Function initStorer

repository.go:130–137  ·  view source on GitHub ↗
(s storer.Storer)

Source from the content-addressed store, hash-verified

128}
129
130func initStorer(s storer.Storer) error {
131 i, ok := s.(storer.Initializer)
132 if !ok {
133 return nil
134 }
135
136 return i.Init()
137}
138
139func setWorktreeAndStoragePaths(r *Repository, worktree billy.Filesystem) error {
140 type fsBased interface {

Callers 1

InitWithOptionsFunction · 0.85

Calls 1

InitMethod · 0.65

Tested by

no test coverage detected