MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / resetGetMemoryFilesCache

Function resetGetMemoryFilesCache

source code/utils/claudemd.ts:1126–1132  ·  view source on GitHub ↗
(
  reason: InstructionsLoadReason = 'session_start',
)

Source from the content-addressed store, hash-verified

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

Callers 2

clearSessionCachesFunction · 0.85
runPostCompactCleanupFunction · 0.85

Calls 1

clearMemoryFileCachesFunction · 0.85

Tested by

no test coverage detected