MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / resolvePath

Function resolvePath

packages/agent-core/src/mcp/config-loader.ts:140–142  ·  view source on GitHub ↗
(base: string, value: string)

Source from the content-addressed store, hash-verified

138}
139
140function resolvePath(base: string, value: string): string {
141 return isAbsolute(value) ? normalize(value) : resolve(base, value);
142}
143
144function isFileNotFound(error: unknown): boolean {
145 return getErrorCode(error) === 'ENOENT';

Callers 1

normalizeStdioCwdFunction · 0.70

Calls 2

normalizeFunction · 0.85
resolveFunction · 0.50

Tested by

no test coverage detected