MCPcopy Create free account
hub / github.com/blobcache/blobcache / ResolveQueue

Method ResolveQueue

src/bccore/bccore.go:181–187  ·  view source on GitHub ↗
(qh blobcache.Handle)

Source from the content-addressed store, hash-verified

179}
180
181func (sys *System) ResolveQueue(qh blobcache.Handle) (Queue, error) {
182 q, _, err := sys.resolveQueue(qh, 0)
183 if err != nil {
184 return nil, err
185 }
186 return q.backend, nil
187}
188
189// ensure brings up the object only if needed.
190func (sys *System) ensure(ctx context.Context, oid blobcache.OID) (AnyObject, error) {

Callers 1

SubToVolumeMethod · 0.80

Calls 1

resolveQueueMethod · 0.95

Tested by

no test coverage detected