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

Method Delete

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

Delete removes a value from the cache.

(ctx context.Context, key string)

Source from the content-addressed store, hash-verified

20
21 // Delete removes a value from the cache.
22 Delete(ctx context.Context, key string)
23
24 // Clear removes all values from the cache.
25 Clear(ctx context.Context)

Callers 10

DeleteUserSettingsMethod · 0.65
deleteUserCacheMethod · 0.65
SetWithTTLMethod · 0.65
GetMethod · 0.65
ClearMethod · 0.65
cleanupMethod · 0.65
cleanupOldestMethod · 0.65
TestCacheBasicOperationsFunction · 0.65
TestCacheConcurrencyFunction · 0.65
TestEvictionCallbackFunction · 0.65

Implementers 1

Cachestore/cache/cache.go

Calls

no outgoing calls

Tested by 3

TestCacheBasicOperationsFunction · 0.52
TestCacheConcurrencyFunction · 0.52
TestEvictionCallbackFunction · 0.52