Remove deletes the row object and its seek index. Any 'not found' errors are ignored.
(ctx context.Context, engine storage.Engine, path *storage.URI)
| 144 | // Remove deletes the row object and its seek index. |
| 145 | // Any 'not found' errors are ignored. |
| 146 | func (o Object) Remove(ctx context.Context, engine storage.Engine, path *storage.URI) error { |
| 147 | if err := engine.DeleteByPrefix(ctx, o.ObjectPrefix(path)); err != nil && !errors.Is(err, fs.ErrNotExist) { |
| 148 | return err |
| 149 | } |
| 150 | return nil |
| 151 | } |
nothing calls this directly
no test coverage detected