MCPcopy
hub / github.com/grafana/tempo / Delete

Method Delete

tempodb/backend/cache/cache.go:164–169  ·  view source on GitHub ↗
(ctx context.Context, name string, keypath backend.KeyPath, cacheInfo *backend.CacheInfo)

Source from the content-addressed store, hash-verified

162}
163
164func (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
171func key(keypath backend.KeyPath, name string) string {
172 return strings.Join(keypath, ":") + ":" + name

Callers

nothing calls this directly

Calls 1

DeleteMethod · 0.65

Tested by

no test coverage detected