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

Function DeleteVector

db/data/vector.go:94–99  ·  view source on GitHub ↗
(ctx context.Context, engine storage.Engine, path *storage.URI, id ksuid.KSUID)

Source from the content-addressed store, hash-verified

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) {
96 return err
97 }
98 return nil
99}

Callers 2

NewVectorWriterFunction · 0.70

Calls 3

VectorURIFunction · 0.85
IsMethod · 0.80
DeleteMethod · 0.65

Tested by 1