MCPcopy Create free account
hub / github.com/AdRoll/baker / Del

Method Del

record.go:98–104  ·  view source on GitHub ↗

Del removes the given cache entry.

(key string)

Source from the content-addressed store, hash-verified

96
97// Del removes the given cache entry.
98func (c *Cache) Del(key string) {
99 if *c == nil {
100 return
101 }
102
103 delete(*c, key)
104}
105
106// Clear clears all the entries in the cache.
107func (c *Cache) Clear() {

Callers 1

TestLogLineCacheFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestLogLineCacheFunction · 0.64