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

Function normalizeResolvedPath

apps/kimi-code/src/cli/update/source.ts:101–104  ·  view source on GitHub ↗
(filePath: string, platform: NodeJS.Platform)

Source from the content-addressed store, hash-verified

99}
100
101function normalizeResolvedPath(filePath: string, platform: NodeJS.Platform): string {
102 const resolvedPath = resolve(filePath);
103 return platform === 'win32' ? resolvedPath.toLowerCase() : resolvedPath;
104}
105
106function candidateGlobalPackageDirs(
107 globalPrefix: string,

Callers 1

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected