MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / restoreWorktreeSession

Function restoreWorktreeSession

source code/utils/worktree.ts:169–171  ·  view source on GitHub ↗
(session: WorktreeSession | null)

Source from the content-addressed store, hash-verified

167 * state (cwd, originalCwd).
168 */
169export function restoreWorktreeSession(session: WorktreeSession | null): void {
170 currentWorktreeSession = session
171}
172
173export function generateTmuxSessionName(
174 repoPath: string,

Callers 2

restoreWorktreeForResumeFunction · 0.85
exitRestoredWorktreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected