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

Function setProjectRoot

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

Source from the content-addressed store, hash-verified

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

Callers 2

setupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected