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

Function configDir

src/installer/targets/copilot-cli.ts:49–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47} from './shared';
48
49function configDir(): string {
50 const override = process.env.COPILOT_HOME;
51 if (override && override.trim().length > 0) return override;
52 return path.join(os.homedir(), '.copilot');
53}
54
55function mcpConfigPath(): string {
56 return path.join(configDir(), 'mcp-config.json');

Callers 2

mcpConfigPathFunction · 0.70
cliConfigDirPresentFunction · 0.70

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected