Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/usememos/memos
/ Clear
Method
Clear
store/cache/cache.go:25–25 ·
view source on GitHub ↗
Clear removes all values from the cache.
(ctx context.Context)
Source
from the content-addressed store, hash-verified
23
24
// Clear removes all values from the cache.
25
Clear(ctx context.Context)
26
27
// Size returns the number of items in the cache.
28
Size() int64
Callers
1
TestCacheBasicOperations
Function · 0.65
Implementers
1
Cache
store/cache/cache.go
Calls
no outgoing calls
Tested by
1
TestCacheBasicOperations
Function · 0.52