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

Method Abort

db/data/vector.go:89–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87}
88
89func (w *VectorWriter) Abort() {
90 w.Close()
91 w.delete()
92}
93
94func DeleteVector(ctx context.Context, engine storage.Engine, path *storage.URI, id ksuid.KSUID) error {
95 if err := engine.Delete(ctx, VectorURI(path, id)); err != nil && !errors.Is(err, fs.ErrNotExist) {

Callers 1

CreateVectorFunction · 0.95

Calls 2

deleteMethod · 0.80
CloseMethod · 0.65

Tested by

no test coverage detected