MCPcopy Create free account
hub / github.com/Noumena-Network/code / clearMemoryFileCaches

Function clearMemoryFileCaches

src/utils/claudemd.ts:1283–1286  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1281 * compaction), use resetGetMemoryFilesCache() instead.
1282 */
1283export function clearMemoryFileCaches(): void {
1284 // ?.cache because tests spyOn this, which replaces the memoize wrapper.
1285 getMemoryFiles.cache?.clear?.()
1286}
1287
1288export function resetGetMemoryFilesCache(
1289 reason: InstructionsLoadReason = 'session_start',

Callers 7

resetGetMemoryFilesCacheFunction · 0.70
restoreWorktreeForResumeFunction · 0.70
exitRestoredWorktreeFunction · 0.70
setupFunction · 0.50
callFunction · 0.50
pullTeamMemoryFunction · 0.50

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected