MCPcopy
hub / github.com/vitejs/vite / toWindowsPath

Function toWindowsPath

packages/vite/src/module-runner/utils.ts:64–66  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

62}
63
64export function toWindowsPath(path: string): string {
65 return path.replace(/\//g, '\\')
66}

Callers 1

createDefaultImportMetaFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected