Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/dgraph-io/dgraph
/ ResetCache
Function
ResetCache
posting/mvcc.go:324–326 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
322
}
323
324
func
ResetCache() {
325
MemLayerInstance.clear()
326
}
327
328
// RemoveCacheFor will delete the list corresponding to the given key.
329
func
RemoveCacheFor(key []byte) {
Callers
11
handleRestoreProposal
Function · 0.92
rollup
Function · 0.92
postStreamProcessing
Function · 0.92
populateSnapshot
Method · 0.92
applyMutations
Method · 0.92
RunWithoutTemp
Method · 0.85
DeleteAll
Function · 0.85
DeleteAllForNs
Function · 0.85
DeleteData
Function · 0.85
DeletePredicate
Function · 0.85
DeleteNamespace
Function · 0.85
Calls
1
clear
Method · 0.45
Tested by
1
rollup
Function · 0.74