(sessionId: string, cacheDir: string)
| 22 | type CacheFile = Record<string, CacheEntry> |
| 23 | |
| 24 | export function getCachePath(sessionId: string, cacheDir: string): string { |
| 25 | return path.join(cacheDir, `${sessionId}.cache.json`) |
| 26 | } |
| 27 | |
| 28 | function readCacheFile(cachePath: string): CacheFile | null { |
| 29 | try { |
no outgoing calls
no test coverage detected