MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / Del

Method Del

pkg/util/cache/cache.go:267–270  ·  view source on GitHub ↗

Del removes the provided key from the cache.

(key interface{})

Source from the content-addressed store, hash-verified

265
266// Del removes the provided key from the cache.
267func (bc *baseCache) Del(key interface{}) {
268 e := bc.store.get(key)
269 bc.DelEntry(e)
270}
271
272// DelEntry removes the provided entry from the cache.
273func (bc *baseCache) DelEntry(entry *Entry) {

Callers 1

updateMethod · 0.80

Calls 2

DelEntryMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected