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

Struct lockingMap

lockstore/map.go:5–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import "sync"
4
5type lockingMap struct {
6 lock *sync.RWMutex
7 keyLocker LockStore
8 data map[string]interface{}
9 checkFunc LockingMapCheckFunc
10}
11
12// LockingMapCheckFunc is given a key and value interface{} and is expected
13// to return a boolean about whether or not the given value is still valid.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected