( reason: InstructionsLoadReason = 'session_start', )
| 1121 | } |
| 1122 | |
| 1123 | export function resetGetMemoryFilesCache( |
| 1124 | reason: InstructionsLoadReason = 'session_start', |
| 1125 | ): void { |
| 1126 | nextEagerLoadReason = reason |
| 1127 | shouldFireHook = true |
| 1128 | clearMemoryFileCaches() |
| 1129 | } |
| 1130 | |
| 1131 | export function getLargeMemoryFiles(files: MemoryFileInfo[]): MemoryFileInfo[] { |
| 1132 | return files.filter(f => f.content.length > MAX_MEMORY_CHARACTER_COUNT) |
no test coverage detected