MCPcopy Create free account
hub / github.com/brimdata/super / Load

Method Load

db/journal/queue.go:148–150  ·  view source on GitHub ↗
(ctx context.Context, id ID)

Source from the content-addressed store, hash-verified

146}
147
148func (q *Queue) Load(ctx context.Context, id ID) ([]byte, error) {
149 return storage.Get(ctx, q.engine, q.uri(id))
150}
151
152func (q *Queue) DeleteCommit(ctx context.Context, id ID) error {
153 return q.engine.Delete(ctx, q.uri(id))

Callers

nothing calls this directly

Calls 2

uriMethod · 0.95
GetFunction · 0.92

Tested by

no test coverage detected