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

Function getSessionProjectDir

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

Source from the content-addressed store, hash-verified

496 * originalCwd). See `switchSession()`.
497 */
498export function getSessionProjectDir(): string | null {
499 return STATE.sessionProjectDir
500}
501
502export function getOriginalCwd(): string {
503 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