MCPcopy
hub / github.com/QwikDev/qwik / normalizePath

Function normalizePath

packages/qwik-city/src/utils/fs.ts:71–73  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

69}
70
71export function normalizePath(path: string) {
72 return normalizePathSlash(normalize(path));
73}
74
75export function normalizePathSlash(path: string) {
76 // MIT https://github.com/sindresorhus/slash/blob/main/license

Callers 15

testAppSuiteFunction · 0.90
fs.unit.tsFile · 0.90
createNodeMainProcessFunction · 0.90
createSystemFunction · 0.90
createBuildContextFunction · 0.90
normalizeOptionsFunction · 0.90
parseFrontmatterFunction · 0.90
getMarkdownRelativeUrlFunction · 0.90
rehypePageFunction · 0.90
resolveRouteFunction · 0.90
walkRoutesFunction · 0.90
walkRouteDirFunction · 0.90

Calls 2

normalizePathSlashFunction · 0.85
normalizeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…