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

Method AddVector

db/commits/patch.go:86–91  ·  view source on GitHub ↗
(id ksuid.KSUID)

Source from the content-addressed store, hash-verified

84}
85
86func (p *Patch) AddVector(id ksuid.KSUID) error {
87 if p.HasVector(id) {
88 return ErrExists
89 }
90 return p.diff.AddVector(id)
91}
92
93func (p *Patch) DeleteVector(id ksuid.KSUID) error {
94 if p.diff.HasVector(id) {

Callers 1

CommitCompactMethod · 0.95

Calls 2

HasVectorMethod · 0.95
AddVectorMethod · 0.65

Tested by

no test coverage detected