()
| 87 | } |
| 88 | |
| 89 | func (w *VectorWriter) Abort() { |
| 90 | w.Close() |
| 91 | w.delete() |
| 92 | } |
| 93 | |
| 94 | func 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) { |
no test coverage detected