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

Method Delete

tempodb/backend/gcs/gcs.go:176–179  ·  view source on GitHub ↗
(ctx context.Context, name string, keypath backend.KeyPath, _ *backend.CacheInfo)

Source from the content-addressed store, hash-verified

174}
175
176func (rw *readerWriter) Delete(ctx context.Context, name string, keypath backend.KeyPath, _ *backend.CacheInfo) error {
177 keypath = backend.KeyPathWithPrefix(keypath, rw.cfg.Prefix)
178 return readError(rw.bucket.Object(backend.ObjectFileName(keypath, name)).Delete(ctx))
179}
180
181// List implements backend.Reader
182func (rw *readerWriter) List(ctx context.Context, keypath backend.KeyPath) ([]string, error) {

Callers

nothing calls this directly

Calls 4

KeyPathWithPrefixFunction · 0.92
ObjectFileNameFunction · 0.92
readErrorFunction · 0.70
DeleteMethod · 0.65

Tested by

no test coverage detected