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

Method Delete

cache/lru.go:202–207  ·  view source on GitHub ↗
(ctx context.Context, key string)

Source from the content-addressed store, hash-verified

200}
201
202func (l *LRUCache) Delete(ctx context.Context, key string) error {
203 l.mtx.Lock()
204 l.lru.Remove(key)
205 l.mtx.Unlock()
206 return l.c.Delete(ctx, key)
207}

Callers

nothing calls this directly

Calls 1

DeleteMethod · 0.65

Tested by

no test coverage detected