MCPcopy
hub / github.com/TanStack/router / get

Function get

packages/router-core/src/lru-cache.ts:38–43  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

36
37 return {
38 get(key) {
39 const entry = cache.get(key)
40 if (!entry) return undefined
41 touch(entry)
42 return entry.value
43 },
44 set(key, value) {
45 if (cache.size >= max && oldest) {
46 const toDelete = oldest

Callers

nothing calls this directly

Calls 2

touchFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected