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

Function resetGetMemoryFilesCache

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

Source from the content-addressed store, hash-verified

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