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

Function setProjectRoot

source code/bootstrap/state.ts:525–527  ·  view source on GitHub ↗
(cwd: string)

Source from the content-addressed store, hash-verified

523 * call this — skills/history should stay anchored to where the session started.
524 */
525export function setProjectRoot(cwd: string): void {
526 STATE.projectRoot = cwd.normalize('NFC')
527}
528
529export function getCwdState(): string {
530 return STATE.cwd

Callers 2

setupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected