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

Method Load

plumbing/transport/server/loader.go:21–21  ·  view source on GitHub ↗

Load loads a storer.Storer given a transport.Endpoint. Returns transport.ErrRepositoryNotFound if the repository does not exist.

(ep *transport.Endpoint)

Source from the content-addressed store, hash-verified

19 // Returns transport.ErrRepositoryNotFound if the repository does not
20 // exist.
21 Load(ep *transport.Endpoint) (storer.Storer, error)
22}
23
24type fsLoader struct {

Callers 8

PrintMethod · 0.65
PrintfMethod · 0.65
NewUploadPackSessionMethod · 0.65
NewReceivePackSessionMethod · 0.65
TestLoadNonExistentMethod · 0.65
TestLoadMethod · 0.65
TestLoadBareMethod · 0.65

Implementers 1

fsLoaderplumbing/transport/server/loader.go

Calls

no outgoing calls

Tested by 4

TestLoadNonExistentMethod · 0.52
TestLoadMethod · 0.52
TestLoadBareMethod · 0.52