MCPcopy
hub / github.com/go-git/go-git / initStorer

Function initStorer

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

Source from the content-addressed store, hash-verified

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

Callers 1

InitWithOptionsFunction · 0.85

Calls 1

InitMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…