MCPcopy Index your code
hub / github.com/codeaashu/claude-code / resetGetMemoryFilesCache

Function resetGetMemoryFilesCache

src/utils/claudemd.ts:1124–1130  ·  view source on GitHub ↗
(
  reason: InstructionsLoadReason = 'session_start',
)

Source from the content-addressed store, hash-verified

1122}
1123
1124export function resetGetMemoryFilesCache(
1125 reason: InstructionsLoadReason = 'session_start',
1126): void {
1127 nextEagerLoadReason = reason
1128 shouldFireHook = true
1129 clearMemoryFileCaches()
1130}
1131
1132export function getLargeMemoryFiles(files: MemoryFileInfo[]): MemoryFileInfo[] {
1133 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