MCPcopy Create free account
hub / github.com/agegr/pi-web / getPathCache

Function getPathCache

lib/session-reader.ts:102–105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100}
101
102function getPathCache(): Map<string, string> {
103 if (!globalThis.__piSessionPathCache) globalThis.__piSessionPathCache = new Map();
104 return globalThis.__piSessionPathCache;
105}
106
107function getPathToIdCache(): Map<string, string> {
108 if (!globalThis.__piPathToSessionIdCache) globalThis.__piPathToSessionIdCache = new Map();

Callers 3

resolveSessionPathFunction · 0.85
cacheSessionPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected