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

Method writeHead

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

Source from the content-addressed store, hash-verified

60}
61
62func (q *Queue) writeHead(ctx context.Context, id ID) error {
63 return writeID(ctx, q.engine, q.headPath, id)
64}
65
66func (q *Queue) ReadTail(ctx context.Context) (ID, ID, error) {
67 return readID(ctx, q.engine, q.tailPath)

Callers 2

CommitAtMethod · 0.95
CreateFunction · 0.80

Calls 1

writeIDFunction · 0.85

Tested by

no test coverage detected