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

Method Set

container/concurrent/map.go:35–39  ·  view source on GitHub ↗
(key interface{}, value interface{})

Source from the content-addressed store, hash-verified

33}
34
35func (p *mapImp) Set(key interface{}, value interface{}) {
36 p.lock.Lock()
37 defer p.lock.Unlock()
38 p.m[key] = value
39}
40
41func (p *mapImp) Delete(key interface{}) {
42 p.lock.Lock()

Callers

nothing calls this directly

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected