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

Method LookupBranchByName

db/pool.go:132–134  ·  view source on GitHub ↗
(ctx context.Context, name string)

Source from the content-addressed store, hash-verified

130}
131
132func (p *Pool) LookupBranchByName(ctx context.Context, name string) (*branches.Config, error) {
133 return p.branches.LookupByName(ctx, name)
134}
135
136func (p *Pool) openBranch(ctx context.Context, config *branches.Config) (*Branch, error) {
137 return OpenBranch(ctx, config, p.engine, p.Path, p)

Callers 4

OpenBranchByNameMethod · 0.95
ResolveRevisionMethod · 0.95
handleBranchGetFunction · 0.80
CommitObjectMethod · 0.80

Calls 1

LookupByNameMethod · 0.45

Tested by

no test coverage detected