MCPcopy
hub / github.com/dropbox/godropbox / Delete

Method Delete

container/concurrent/lrucache.go:86–93  ·  view source on GitHub ↗
(keys ...string)

Source from the content-addressed store, hash-verified

84}
85
86func (p *concurrentLruCacheImp) Delete(keys ...string) {
87 p.lock.Lock()
88 defer p.lock.Unlock()
89
90 for _, key := range keys {
91 p.cache.Delete(key)
92 }
93}
94
95func (p *concurrentLruCacheImp) Clear() {
96 p.lock.Lock()

Callers

nothing calls this directly

Calls 3

LockMethod · 0.65
UnlockMethod · 0.65
DeleteMethod · 0.65

Tested by

no test coverage detected