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

Method RemoveBranch

db/root.go:370–376  ·  view source on GitHub ↗
(ctx context.Context, poolID ksuid.KSUID, name string)

Source from the content-addressed store, hash-verified

368}
369
370func (r *Root) RemoveBranch(ctx context.Context, poolID ksuid.KSUID, name string) error {
371 pool, err := r.OpenPool(ctx, poolID)
372 if err != nil {
373 return err
374 }
375 return pool.removeBranch(ctx, name)
376}
377
378// MergeBranch merges the indicated branch into its parent returning the
379// commit tag of the new commit into the parent branch.

Callers

nothing calls this directly

Calls 2

OpenPoolMethod · 0.95
removeBranchMethod · 0.80

Tested by

no test coverage detected