(sessionId: string, cacheDir: string)
| 78 | } |
| 79 | |
| 80 | export function deleteSessionCache(sessionId: string, cacheDir: string): void { |
| 81 | const cachePath = getCachePath(sessionId, cacheDir) |
| 82 | try { |
| 83 | if (fs.existsSync(cachePath)) fs.unlinkSync(cachePath) |
| 84 | } catch { |
| 85 | // Ignore |
| 86 | } |
| 87 | } |
| 88 | |
| 89 | // ==================== Overview cache (aggregate stats) ==================== |
| 90 |
no test coverage detected