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

Method Set

container/concurrent/lrucache.go:70–75  ·  view source on GitHub ↗
(key string, value interface{})

Source from the content-addressed store, hash-verified

68}
69
70func (p *concurrentLruCacheImp) Set(key string, value interface{}) {
71 p.lock.Lock()
72 defer p.lock.Unlock()
73
74 p.cache.Set(key, value)
75}
76
77func (p *concurrentLruCacheImp) SetMultiple(keyValues map[string]interface{}) {
78 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