MCPcopy
hub / github.com/meteor/meteor / toOSPath

Function toOSPath

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

Source from the content-addressed store, hash-verified

283// in core
284const toOSPath =
285 p => process.platform === 'win32' ? p.replace(/\//g, '\\') : p;
286const toStandardPath =
287 p => process.platform === 'win32' ? p.replace(/\\/g, '/') : p;
288const pathJoin =

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…