MCPcopy Create free account
hub / github.com/WJX20/claude-code / resetSessionFilePointer

Function resetSessionFilePointer

src/utils/sessionStorage.ts:1506–1508  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1504 * The new file is created lazily on the first user/assistant message.
1505 */
1506export async function resetSessionFilePointer() {
1507 getProject().resetSessionFile()
1508}
1509
1510/**
1511 * Adopt the existing session file after --continue/--resume (non-fork).

Callers 5

clearConversationFunction · 0.85
onSelectFunction · 0.85
REPLFunction · 0.85
loadInitialMessagesFunction · 0.85

Calls 2

getProjectFunction · 0.85
resetSessionFileMethod · 0.80

Tested by

no test coverage detected