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

Function adoptResumedSessionFile

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

Source from the content-addressed store, hash-verified

1529 * later calls (compaction, exit cleanup) absorb SDK writes normally.
1530 */
1531export function adoptResumedSessionFile(): void {
1532 const project = getProject()
1533 project.sessionFile = getTranscriptPath()
1534 project.reAppendSessionMetadata(true)
1535}
1536
1537/**
1538 * Append a context-collapse commit entry to the transcript. One entry per

Callers 3

onSelectFunction · 0.85
REPLFunction · 0.85

Calls 3

getProjectFunction · 0.85
getTranscriptPathFunction · 0.85

Tested by

no test coverage detected