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

Function resetSessionFilePointer

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

Source from the content-addressed store, hash-verified

1540 * The new file is created lazily on the first user/assistant message.
1541 */
1542export async function resetSessionFilePointer() {
1543 getProject().resetSessionFile()
1544}
1545
1546/**
1547 * 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