( cache: FileStateCache, )
| 107 | |
| 108 | // Helper function to convert cache to object (used by compact.ts) |
| 109 | export function cacheToObject( |
| 110 | cache: FileStateCache, |
| 111 | ): Record<string, FileState> { |
| 112 | return Object.fromEntries(cache.entries()) |
| 113 | } |
| 114 | |
| 115 | // Helper function to get all keys from cache (used by several components) |
| 116 | export function cacheKeys(cache: FileStateCache): string[] { |
no test coverage detected