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

Method Main

db/pool.go:337–343  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

335}
336
337func (p *Pool) Main(ctx context.Context) (BranchMeta, error) {
338 branch, err := p.OpenBranchByName(ctx, "main")
339 if err != nil {
340 return BranchMeta{}, err
341 }
342 return BranchMeta{p.Config, branch.Config}, nil
343}
344
345func DataPath(poolPath *storage.URI) *storage.URI {
346 return poolPath.JoinPath(DataTag)

Callers 2

vacateCommitsMethod · 0.95
handlePoolPostFunction · 0.80

Calls 1

OpenBranchByNameMethod · 0.95

Tested by

no test coverage detected