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

Function setProjectRoot

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

Source from the content-addressed store, hash-verified

515 * call this — skills/history should stay anchored to where the session started.
516 */
517export function setProjectRoot(cwd: string): void {
518 STATE.projectRoot = cwd.normalize('NFC')
519}
520
521export function getCwdState(): string {
522 return STATE.cwd

Calls

no outgoing calls

Tested by

no test coverage detected