MCPcopy
hub / github.com/perkeep/perkeep / GetStorage

Method GetStorage

pkg/blobserver/registry.go:73–73  ·  view source on GitHub ↗

GetStorage is like GetHandler but requires that the Handler be a storage Handler.

(prefix string)

Source from the content-addressed store, hash-verified

71 // GetStorage is like GetHandler but requires that the Handler be
72 // a storage Handler.
73 GetStorage(prefix string) (Storage, error)
74}
75
76// HandlerIniter is an optional interface which can be implemented

Callers 15

TestIsolationFunction · 0.95
TestStorageTestFunction · 0.95
TestStorageTestFunction · 0.95
TestReceiveIsSchemaFunction · 0.95
newOverlayWithLowerFunction · 0.95
newFromConfigFunction · 0.65
newFromConfigFunction · 0.65
newFromConfigFunction · 0.65
newFromConfigFunction · 0.65
buildStorageForReceiveFunction · 0.65
newFromConfigFunction · 0.65
newFromConfigFunction · 0.65

Implementers 2

Loaderpkg/test/loader.go
handlerLoaderpkg/serverinit/serverinit.go

Calls

no outgoing calls

Tested by 5

TestIsolationFunction · 0.76
TestStorageTestFunction · 0.76
TestStorageTestFunction · 0.76
TestReceiveIsSchemaFunction · 0.76
newOverlayWithLowerFunction · 0.76