MCPcopy
hub / github.com/callstack/agent-device / resolveUserConfigPath

Function resolveUserConfigPath

src/utils/cli-config.ts:44–46  ·  view source on GitHub ↗
(env: EnvMap)

Source from the content-addressed store, hash-verified

42}
43
44function resolveUserConfigPath(env: EnvMap): string {
45 return path.join(expandUserHomePath('~', { env }), '.agent-device', 'config.json');
46}
47
48function resolveInputPath(inputPath: string, cwd: string, env: EnvMap): string {
49 return resolveUserPath(inputPath, { cwd, env });

Callers 1

resolveConfigPathsFunction · 0.85

Calls 1

expandUserHomePathFunction · 0.90

Tested by

no test coverage detected