MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getSessionProjectDir

Function getSessionProjectDir

src/bootstrap/state.ts:496–498  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

494 * originalCwd). See `switchSession()`.
495 */
496export function getSessionProjectDir(): string | null {
497 return STATE.sessionProjectDir
498}
499
500export function getOriginalCwd(): string {
501 return STATE.originalCwd

Callers 5

getTranscriptPathFunction · 0.85
getAgentTranscriptPathFunction · 0.85
getRemoteAgentsDirFunction · 0.85
loadSessionFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected