MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / configDir

Function configDir

src/installer/targets/claude.ts:44–48  ·  view source on GitHub ↗
(loc: Location)

Source from the content-addressed store, hash-verified

42} from '../instructions-template';
43
44function configDir(loc: Location): string {
45 return loc === 'global'
46 ? path.join(os.homedir(), '.claude')
47 : path.join(process.cwd(), '.claude');
48}
49function mcpJsonPath(loc: Location): string {
50 // global → ~/.claude.json (user scope: visible in every project).
51 // local → ./.mcp.json (project scope: the ONLY project-level MCP

Callers 3

settingsJsonPathFunction · 0.70
instructionsPathFunction · 0.70
detectMethod · 0.70

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected