MCPcopy
hub / github.com/codeaashu/claude-code / restoreWorktreeSession

Function restoreWorktreeSession

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

Source from the content-addressed store, hash-verified

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

Callers 2

restoreWorktreeForResumeFunction · 0.85
exitRestoredWorktreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected