( reason: InstructionsLoadReason = 'session_start', )
| 1286 | } |
| 1287 | |
| 1288 | export function resetGetMemoryFilesCache( |
| 1289 | reason: InstructionsLoadReason = 'session_start', |
| 1290 | ): void { |
| 1291 | nextEagerLoadReason = reason |
| 1292 | shouldFireHook = true |
| 1293 | clearMemoryFileCaches() |
| 1294 | } |
| 1295 | |
| 1296 | export function getLargeMemoryFiles(files: MemoryFileInfo[]): MemoryFileInfo[] { |
| 1297 | return files.filter(f => f.content.length > MAX_MEMORY_CHARACTER_COUNT) |
no test coverage detected