MCPcopy
hub / github.com/redis/node-redis / get

Function get

packages/client/lib/client/cache.ts:804–810  ·  view source on GitHub ↗
(cacheKey: string)

Source from the content-addressed store, hash-verified

802 }
803
804 override get(cacheKey: string): ClientSideCacheEntry | undefined {
805 if (this.#disabled) {
806 return undefined;
807 }
808
809 return super.get(cacheKey);
810 }
811
812 override has(cacheKey: string): boolean {
813 if (this.#disabled) {

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected