( cache: FileStateCache, )
| 118 | |
| 119 | // Helper function to convert cache to object (used by compact.ts) |
| 120 | export function cacheToObject( |
| 121 | cache: FileStateCache, |
| 122 | ): Record<string, FileState> { |
| 123 | return Object.fromEntries(cache.entries()) |
| 124 | } |
| 125 | |
| 126 | // Helper function to get all keys from cache (used by several components) |
| 127 | export function cacheKeys(cache: FileStateCache): string[] { |
no test coverage detected