MCPcopy
hub / github.com/claude-code-best/claude-code / pwd

Function pwd

src/utils/cwd.ts:19–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17 * Get the current working directory
18 */
19export function pwd(): string {
20 return cwdOverrideStorage.getStore() ?? getCwdState()
21}
22
23/**
24 * Get the current working directory or the original working directory if the current one is not available

Callers 4

getCwdFunction · 0.85
createSessionMethod · 0.85
runShellDirectMethod · 0.85
execFunction · 0.85

Calls 1

getCwdStateFunction · 0.85

Tested by

no test coverage detected