MCPcopy
hub / github.com/rohitg00/agentmemory / has

Method has

src/state/search-index.ts:50–52  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

48 }
49
50 has(id: string): boolean {
51 return this.entries.has(id);
52 }
53
54 remove(id: string): void {
55 const entry = this.entries.get(id);

Callers 15

AgentmemoryCapturePluginFunction · 0.80
mockKVFunction · 0.80
benchmarkCrossSessionFunction · 0.80
ndcgFunction · 0.80
recallFunction · 0.80
precisionFunction · 0.80
mrrFunction · 0.80
mockKVFunction · 0.80
evalTripleStreamFunction · 0.80
mockKVFunction · 0.80

Calls

no outgoing calls

Tested by 15

mockKVFunction · 0.64
mockKVFunction · 0.64
mockKVFunction · 0.64
mockKVFunction · 0.64
mockKVFunction · 0.64
mockKVFunction · 0.64
mockKVFunction · 0.64
mockKVFunction · 0.64
mockKVFunction · 0.64
mockKVFunction · 0.64
mockKVFunction · 0.64
makeMockKVFunction · 0.64