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

Method Snapshot

db/pool.go:112–114  ·  view source on GitHub ↗
(ctx context.Context, commit ksuid.KSUID)

Source from the content-addressed store, hash-verified

110}
111
112func (p *Pool) Snapshot(ctx context.Context, commit ksuid.KSUID) (commits.View, error) {
113 return p.commits.Snapshot(ctx, commit)
114}
115
116func (p *Pool) OpenCommitLog(ctx context.Context, sctx *super.Context, commit ksuid.KSUID) sio.Reader {
117 return p.commits.OpenCommitLog(ctx, sctx, commit, ksuid.Nil)

Callers 8

handlePoolStatsFunction · 0.45
DeleteMethod · 0.45
DeleteWhereMethod · 0.45
RevertMethod · 0.45
CommitCompactMethod · 0.45
buildMergeObjectMethod · 0.45
AddVectorsMethod · 0.45
DeleteVectorsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected