MCPcopy
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

TestCacheBasicOperationsFunction · 0.65

Implementers 1

Cachestore/cache/cache.go

Calls

no outgoing calls

Tested by 1

TestCacheBasicOperationsFunction · 0.52