MCPcopy
hub / github.com/perkeep/perkeep / Loader

Struct Loader

pkg/test/loader.go:37–40  ·  view source on GitHub ↗

Loader is a test implementation of blobserver.Loader. Its zero value is ready for use, but callers empirically (historically) have used the NewLoader constructor, despite it being kinda useless.

Source from the content-addressed store, hash-verified

35// Its zero value is ready for use, but callers empirically (historically) have
36// used the NewLoader constructor, despite it being kinda useless.
37type Loader struct {
38 mu sync.Mutex
39 sto map[string]blobserver.Storage
40}
41
42var _ blobserver.Loader = (*Loader)(nil)
43

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected