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

Method Delete

container/concurrent/map.go:41–45  ·  view source on GitHub ↗
(key interface{})

Source from the content-addressed store, hash-verified

39}
40
41func (p *mapImp) Delete(key interface{}) {
42 p.lock.Lock()
43 defer p.lock.Unlock()
44 delete(p.m, key)
45}
46
47func (p *mapImp) Len() int {
48 p.lock.RLock()

Callers

nothing calls this directly

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected