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

Function normalizeWindowsPath

packages/kaos/src/environment.ts:210–212  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

208}
209
210function normalizeWindowsPath(path: string): string {
211 return path.replaceAll('/', '\\');
212}
213
214function isAbsoluteWindowsPath(path: string): boolean {
215 return nodePath.win32.isAbsolute(normalizeWindowsPath(path));

Callers 4

isAbsoluteWindowsPathFunction · 0.85
dedupeWindowsPathsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected