MCPcopy
hub / github.com/perkeep/perkeep / Fetch

Method Fetch

pkg/blobserver/remote/remote.go:131–133  ·  view source on GitHub ↗
(ctx context.Context, b blob.Ref)

Source from the content-addressed store, hash-verified

129}
130
131func (sto *remoteStorage) Fetch(ctx context.Context, b blob.Ref) (file io.ReadCloser, size uint32, err error) {
132 return sto.client.Fetch(ctx, b)
133}
134
135func (sto *remoteStorage) MaxEnumerate() int { return 1000 }
136

Callers

nothing calls this directly

Calls 1

FetchMethod · 0.65

Tested by

no test coverage detected