Method
Delete
(ctx context.Context, name string, keypath backend.KeyPath, cacheInfo *backend.CacheInfo)
Source from the content-addressed store, hash-verified
| 162 | } |
| 163 | |
| 164 | func (r *readerWriter) Delete(ctx context.Context, name string, keypath backend.KeyPath, cacheInfo *backend.CacheInfo) error { |
| 165 | if cacheInfo != nil { |
| 166 | panic("delete is not supported for cache.Cache backend") |
| 167 | } |
| 168 | return r.nextWriter.Delete(ctx, name, keypath, nil) |
| 169 | } |
| 170 | |
| 171 | func key(keypath backend.KeyPath, name string) string { |
| 172 | return strings.Join(keypath, ":") + ":" + name |
Callers
nothing calls this directly
Tested by
no test coverage detected