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

Method Module

storage/storer.go:29–29  ·  view source on GitHub ↗

Module returns a Storer representing a submodule, if not exists returns a new empty Storer is returned

(name string)

Source from the content-addressed store, hash-verified

27 // Module returns a Storer representing a submodule, if not exists returns a
28 // new empty Storer is returned
29 Module(name string) (Storer, error)
30}

Callers 7

RepositoryMethod · 0.65
ModuleMethod · 0.65
TestModuleMethod · 0.65
ModuleMethod · 0.65
TestSubmodulesMethod · 0.65

Implementers 3

basicstorage/transactional/storage.go
ModuleStoragestorage/filesystem/module.go
DotGitstorage/filesystem/dotgit/dotgit.go

Calls

no outgoing calls

Tested by 3

TestSubmodulesMethod · 0.52