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

Method SetMultiple

container/concurrent/lrucache.go:77–84  ·  view source on GitHub ↗
(keyValues map[string]interface{})

Source from the content-addressed store, hash-verified

75}
76
77func (p *concurrentLruCacheImp) SetMultiple(keyValues map[string]interface{}) {
78 p.lock.Lock()
79 defer p.lock.Unlock()
80
81 for key, value := range keyValues {
82 p.cache.Set(key, value)
83 }
84}
85
86func (p *concurrentLruCacheImp) Delete(keys ...string) {
87 p.lock.Lock()

Callers

nothing calls this directly

Calls 3

LockMethod · 0.65
UnlockMethod · 0.65
SetMethod · 0.65

Tested by

no test coverage detected