MCPcopy
hub / github.com/codeaashu/claude-code / getProjectRoot

Function getProjectRoot

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

Source from the content-addressed store, hash-verified

509 * Use for project identity (history, skills, sessions) not file operations.
510 */
511export function getProjectRoot(): string {
512 return STATE.projectRoot
513}
514
515export function setOriginalCwd(cwd: string): void {
516 STATE.originalCwd = cwd.normalize('NFC')

Callers 15

getTimestampedHistoryFunction · 0.85
getHistoryFunction · 0.85
addToPromptHistoryFunction · 0.85
setupFunction · 0.85
getAllCommandsFunction · 0.85
SkillTool.tsFile · 0.85
getLocalAgentMemoryDirFunction · 0.85
runAgentFunction · 0.85
callFunction · 0.85
getCronFilePathFunction · 0.85
writeCronTasksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected