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

Method openBranch

db/pool.go:136–138  ·  view source on GitHub ↗
(ctx context.Context, config *branches.Config)

Source from the content-addressed store, hash-verified

134}
135
136func (p *Pool) openBranch(ctx context.Context, config *branches.Config) (*Branch, error) {
137 return OpenBranch(ctx, config, p.engine, p.Path, p)
138}
139
140func (p *Pool) OpenBranchByName(ctx context.Context, name string) (*Branch, error) {
141 branchRef, err := p.LookupBranchByName(ctx, name)

Callers 1

OpenBranchByNameMethod · 0.95

Calls 1

OpenBranchFunction · 0.85

Tested by

no test coverage detected