(ctx context.Context, key string)
| 40 | } |
| 41 | |
| 42 | func (b cacheInvalidatingFilesystemBackend) Delete(ctx context.Context, key string) error { |
| 43 | err := b.backend.Delete(ctx, key) |
| 44 | if err == nil && b.cache != nil { |
| 45 | _ = b.cache.InvalidateRows(ctx, FilesystemKeyRefs(b.name, key)) |
| 46 | } |
| 47 | return err |
| 48 | } |
| 49 | |
| 50 | func (b cacheInvalidatingFilesystemBackend) Presign(ctx context.Context, key string, op fstable.PresignOp, ttl time.Duration) (string, error) { |
| 51 | return b.backend.Presign(ctx, key, op, ttl) |
nothing calls this directly
no test coverage detected