MCPcopy Create free account
hub / github.com/TalkingData/owl / Delete

Method Delete

controller/cache/cache.go:166–174  ·  view source on GitHub ↗
(k string)

Source from the content-addressed store, hash-verified

164}
165
166func (c *cache) Delete(k string) {
167 c.mu.Lock()
168 v, evicted := c.delete(k)
169 c.mu.Unlock()
170 if evicted {
171 c.onEvicted(k, v)
172 }
173
174}
175
176type kv struct {
177 key string

Callers

nothing calls this directly

Calls 1

deleteMethod · 0.95

Tested by

no test coverage detected