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