MCPcopy Create free account
hub / github.com/anus-dev/ANUS / get

Method get

packages/core/src/utils/LruCache.ts:17–25  ·  view source on GitHub ↗
(key: K)

Source from the content-addressed store, hash-verified

15 }
16
17 get(key: K): V | undefined {
18 const value = this.cache.get(key);
19 if (value) {
20 // Move to end to mark as recently used
21 this.cache.delete(key);
22 this.cache.set(key, value);
23 }
24 return value;
25 }
26
27 set(key: K, value: V): void {
28 if (this.cache.has(key)) {

Callers 15

getToolMethod · 0.45
getMCPServerStatusFunction · 0.45
connectToMcpServerFunction · 0.45
walkFunction · 0.45
ensureCorrectEditFunction · 0.45
ensureCorrectFileContentFunction · 0.45
updateMethod · 0.45
resolveDiffFromCliMethod · 0.45

Calls 1

setMethod · 0.45

Tested by

no test coverage detected