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

Function resetSessionFilePointer

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

Source from the content-addressed store, hash-verified

1503 * The new file is created lazily on the first user/assistant message.
1504 */
1505export async function resetSessionFilePointer() {
1506 getProject().resetSessionFile()
1507}
1508
1509/**
1510 * 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