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

Method Module

storage/filesystem/module.go:13–20  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

11}
12
13func (s *ModuleStorage) Module(name string) (storage.Storer, error) {
14 fs, err := s.dir.Module(name)
15 if err != nil {
16 return nil, err
17 }
18
19 return NewStorage(fs, cache.NewObjectLRUDefault()), nil
20}

Callers

nothing calls this directly

Calls 3

NewObjectLRUDefaultFunction · 0.92
NewStorageFunction · 0.70
ModuleMethod · 0.65

Tested by

no test coverage detected