(ctx context.Context, name string)
| 102 | } |
| 103 | |
| 104 | func (p *Pool) removeBranch(ctx context.Context, name string) error { |
| 105 | config, err := p.branches.LookupByName(ctx, name) |
| 106 | if err != nil { |
| 107 | return err |
| 108 | } |
| 109 | return p.branches.Remove(ctx, *config) |
| 110 | } |
| 111 | |
| 112 | func (p *Pool) Snapshot(ctx context.Context, commit ksuid.KSUID) (commits.View, error) { |
| 113 | return p.commits.Snapshot(ctx, commit) |
no test coverage detected