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

Function getOriginalCwd

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

Source from the content-addressed store, hash-verified

498}
499
500export function getOriginalCwd(): string {
501 return STATE.originalCwd
502}
503
504/**
505 * Get the stable project root directory.

Callers 15

runFunction · 0.85
checkReadOnlyConstraintsFunction · 0.85
resetCwdIfOutsideProjectFunction · 0.85
callFunction · 0.85
LogSelectorFunction · 0.85
BridgeDialogFunction · 0.85
SkillPermissionRequestFunction · 0.85
WorkspaceTabFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected