Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
500
export
function
getOriginalCwd(): string {
501
return
STATE.originalCwd
502
}
503
504
/**
505
* Get the stable project root directory.
Callers
15
run
Function · 0.85
checkReadOnlyConstraints
Function · 0.85
stdErrAppendShellResetMessage
Function · 0.85
resetCwdIfOutsideProject
Function · 0.85
call
Function · 0.85
buildStatusLineCommandInput
Function · 0.85
LogSelector
Function · 0.85
BridgeDialog
Function · 0.85
FallbackPermissionRequest
Function · 0.85
generateShellSuggestionsLabel
Function · 0.85
SkillPermissionRequest
Function · 0.85
WorkspaceTab
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected