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

Function NewDeleteVectorsObject

db/commits/object.go:66–72  ·  view source on GitHub ↗
(parent ksuid.KSUID, author, message string, ids []ksuid.KSUID, retries int)

Source from the content-addressed store, hash-verified

64}
65
66func NewDeleteVectorsObject(parent ksuid.KSUID, author, message string, ids []ksuid.KSUID, retries int) *Object {
67 o := NewObject(parent, author, message, super.Null, retries)
68 for _, id := range ids {
69 o.appendDeleteVector(id)
70 }
71 return o
72}
73
74func (o *Object) append(action Action) {
75 o.Actions = append(o.Actions, action)

Callers 1

DeleteVectorsMethod · 0.92

Calls 2

appendDeleteVectorMethod · 0.95
NewObjectFunction · 0.70

Tested by

no test coverage detected