MCPcopy Create free account
hub / github.com/TanStack/router / normalizePath

Function normalizePath

packages/start-plugin-core/src/utils.ts:39–41  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

37}
38
39export function normalizePath(id: string): string {
40 return path.posix.normalize(isWindows ? slash(id) : id)
41}

Callers 15

normalizeFilePathFunction · 0.90
setupFunction · 0.90
matchesManifestPathFunction · 0.90
getVirtualModulePathFunction · 0.90
addTransformResultFunction · 0.90
hasTransformResultFunction · 0.90
getTransformResultFunction · 0.90
loadFunction · 0.50
getTransformResultFunction · 0.50
registerEntriesFunction · 0.50

Calls 1

slashFunction · 0.85

Tested by

no test coverage detected