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

Function RemovePool

db/pool.go:100–102  ·  view source on GitHub ↗
(ctx context.Context, engine storage.Engine, root *storage.URI, config *pools.Config)

Source from the content-addressed store, hash-verified

98}
99
100func RemovePool(ctx context.Context, engine storage.Engine, root *storage.URI, config *pools.Config) error {
101 return engine.DeleteByPrefix(ctx, config.Path(root))
102}
103
104func (p *Pool) removeBranch(ctx context.Context, name string) error {
105 config, err := p.branches.LookupByName(ctx, name)

Callers 2

CreatePoolMethod · 0.85
RemovePoolMethod · 0.85

Calls 2

DeleteByPrefixMethod · 0.65
PathMethod · 0.45

Tested by

no test coverage detected