MCPcopy
hub / github.com/usememos/memos / Size

Method Size

store/cache/cache.go:28–28  ·  view source on GitHub ↗

Size returns the number of items in the cache.

()

Source from the content-addressed store, hash-verified

26
27 // Size returns the number of items in the cache.
28 Size() int64
29
30 // Close stops all background tasks and releases resources.
31 Close() error

Callers 4

TestCacheEvictionFunction · 0.65
TestCacheConcurrencyFunction · 0.65
CreateAttachmentMethod · 0.65
walkLocalStorageFunction · 0.65

Implementers 1

Cachestore/cache/cache.go

Calls

no outgoing calls

Tested by 2

TestCacheEvictionFunction · 0.52
TestCacheConcurrencyFunction · 0.52