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

Method uri

db/journal/queue.go:144–146  ·  view source on GitHub ↗
(id ID)

Source from the content-addressed store, hash-verified

142}
143
144func (q *Queue) uri(id ID) *storage.URI {
145 return q.path.JoinPath(fmt.Sprintf("%d.%s", id, ext))
146}
147
148func (q *Queue) Load(ctx context.Context, id ID) ([]byte, error) {
149 return storage.Get(ctx, q.engine, q.uri(id))

Callers 3

CommitAtMethod · 0.95
LoadMethod · 0.95
DeleteCommitMethod · 0.95

Calls 1

JoinPathMethod · 0.80

Tested by

no test coverage detected