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

Method ReadTail

db/journal/queue.go:66–68  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

64}
65
66func (q *Queue) ReadTail(ctx context.Context) (ID, ID, error) {
67 return readID(ctx, q.engine, q.tailPath)
68}
69
70func (q *Queue) writeTail(ctx context.Context, id, base ID) error {
71 r := strings.NewReader(fmt.Sprintf("%d %d", id, base))

Callers 4

BoundariesMethod · 0.95
OpenMethod · 0.95
loadMethod · 0.80
TestJournalConcurrentFunction · 0.80

Calls 1

readIDFunction · 0.85

Tested by 1

TestJournalConcurrentFunction · 0.64