MCPcopy
hub / github.com/claude-code-best/claude-code / getCurrentWorktreeSession

Function getCurrentWorktreeSession

src/utils/worktree.ts:158–160  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

156let currentWorktreeSession: WorktreeSession | null = null
157
158export function getCurrentWorktreeSession(): WorktreeSession | null {
159 return currentWorktreeSession
160}
161
162/**
163 * Restore the worktree session on --resume. The caller must have already

Callers 12

callFunction · 0.85
validateInputFunction · 0.85
callFunction · 0.85
WorktreeExitDialogFunction · 0.85
restoreWorktreeForResumeFunction · 0.85
exitRestoredWorktreeFunction · 0.85
callFunction · 0.85
callFunction · 0.85
clearConversationFunction · 0.85
REPLFunction · 0.85
computeSimpleEnvInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected