Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/apache/casbin
/ Clear
Method
Clear
persist/cache/cache.go:38–38 ·
view source on GitHub ↗
Clear deletes all the items stored in cache.
()
Source
from the content-addressed store, hash-verified
36
37
// Clear deletes all the items stored in cache.
38
Clear() error
39
}
Callers
9
LoadPolicy
Method · 0.65
InvalidateCache
Method · 0.65
ClearPolicy
Method · 0.65
LoadPolicy
Method · 0.65
InvalidateCache
Method · 0.65
rebuildRoleLinks
Method · 0.65
rebuildConditionalRoleLinks
Method · 0.65
initRmMap
Method · 0.65
BuildRoleLinks
Method · 0.65
Implementers
1
SyncCache
persist/cache/cache_sync.go
Calls
no outgoing calls
Tested by
no test coverage detected