MCPcopy Create free account
hub / github.com/MemTensor/MemOS / clear

Method clear

apps/memos-local-plugin/core/embedding/cache.ts:51–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49 set(key: string, vec: EmbeddingVector): void;
50 has(key: string): boolean;
51 clear(): void;
52 stats(): EmbedCacheStats;
53}
54

Callers 15

handlePasswordResetMethod · 0.65
handlePasswordResetMethod · 0.65
closeFunction · 0.65
detachFunction · 0.65
closeFunction · 0.65
clearMethod · 0.65
resetCacheFunction · 0.65
closeFunction · 0.65
stopFunction · 0.65
drainFunction · 0.65
_abort_pendingMethod · 0.65

Implementers 2

LruEmbedCacheapps/memos-local-plugin/core/embedding
NullEmbedCacheapps/memos-local-plugin/core/embedding

Calls

no outgoing calls

Tested by 14

__iter__Method · 0.52
setUpMethod · 0.52
tearDownMethod · 0.52
tearDownMethod · 0.52
setup_functionFunction · 0.52
setup_methodMethod · 0.52
setup_methodMethod · 0.52