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