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

Method Delete

cache/mock.go:187–190  ·  view source on GitHub ↗
(ctx context.Context, key string)

Source from the content-addressed store, hash-verified

185}
186
187func (m *InstrumentedMockCache) Delete(ctx context.Context, key string) error {
188 m.deleteCount.Inc()
189 return m.cache.Delete(ctx, key)
190}
191
192func (m *InstrumentedMockCache) GetItems() map[string]Item {
193 return m.cache.GetItems()

Callers

nothing calls this directly

Calls 1

DeleteMethod · 0.65

Tested by

no test coverage detected