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

Method Compact

db/api/remote.go:89–92  ·  view source on GitHub ↗
(ctx context.Context, poolID ksuid.KSUID, branch string, objects []ksuid.KSUID, writeVectors bool, commit api.CommitMessage)

Source from the content-addressed store, hash-verified

87}
88
89func (r *remote) Compact(ctx context.Context, poolID ksuid.KSUID, branch string, objects []ksuid.KSUID, writeVectors bool, commit api.CommitMessage) (ksuid.KSUID, error) {
90 res, err := r.conn.Compact(ctx, poolID, branch, objects, writeVectors, commit)
91 return res.Commit, err
92}
93
94func (r *remote) RemovePool(ctx context.Context, pool ksuid.KSUID) error {
95 return r.conn.RemovePool(ctx, pool)

Callers

nothing calls this directly

Calls 1

CompactMethod · 0.65

Tested by

no test coverage detected