MCPcopy
hub / github.com/supermemoryai/supermemory / get

Method get

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

* Retrieves a cached value by key. * * @param key - The cache key * @returns The cached value or undefined if not found

(key: string)

Source from the content-addressed store, hash-verified

35 * @returns The cached value or undefined if not found
36 */
37 get(key: string): T | undefined {
38 return this.cache.get(key)
39 }
40
41 /**
42 * Stores a value in the cache.

Callers 15

unit.test.tsFile · 0.80
getEffectiveCustomIdFunction · 0.80
processInputMethod · 0.80
getFunction · 0.80
get_memoryFunction · 0.80
get_memoryFunction · 0.80
test_documents_crudFunction · 0.80
testDocumentsCRUDFunction · 0.80
updateExpandedMethod · 0.80
updateSizeMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_documents_crudFunction · 0.64