MCPcopy
hub / github.com/meteor/meteor / toStandardPath

Function toStandardPath

packages/minifier-css/minifier.js:287–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285 p => process.platform === 'win32' ? p.replace(/\//g, '\\') : p;
286const toStandardPath =
287 p => process.platform === 'win32' ? p.replace(/\\/g, '/') : p;
288const pathJoin =
289 (a, b) => toStandardPath(path.join(toOSPath(a), toOSPath(b)));
290const pathDirname =

Callers 3

pathJoinFunction · 0.85
pathDirnameFunction · 0.85
pathRelativeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…