MCPcopy Index your code
hub / github.com/dgraph-io/dgraph / reset

Method reset

worker/acl_cache.go:25–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23}
24
25func (cache *AclCache) reset() {
26 cache.Lock()
27 defer cache.Unlock()
28 cache.loaded = false
29}
30
31func ResetAclCache() {
32 AclCachePtr.reset()

Callers 1

ResetAclCacheFunction · 0.45

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected