MCPcopy Index your code
hub / github.com/supermemoryai/supermemory / set

Method set

packages/tools/src/shared/cache.ts:47–49  ·  view source on GitHub ↗

* Stores a value in the cache. * * @param key - The cache key * @param value - The value to cache

(key: string, value: T)

Source from the content-addressed store, hash-verified

45 * @param value - The value to cache
46 */
47 set(key: string, value: T): void {
48 this.cache.set(key, value)
49 }
50
51 /**
52 * Checks if a key exists in the cache.

Callers 15

unit.test.tsFile · 0.80
processInputMethod · 0.80
registerEffectMethod · 0.80
updateMousePositionMethod · 0.80
api.tsFile · 0.80
graph-canvas.tsxFile · 0.80
groupByComputedColorFunction · 0.80
drawEdgesFunction · 0.80
rebuildMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected