MCPcopy
hub / github.com/meteor/meteor / pathRelative

Function pathRelative

packages/minifier-css/minifier.js:293–293  ·  view source on GitHub ↗
(p1, p2)

Source from the content-addressed store, hash-verified

291 p => toStandardPath(path.dirname(toOSPath(p)));
292const pathRelative =
293 (p1, p2) => toStandardPath(path.relative(toOSPath(p1), toOSPath(p2)));

Callers 12

resolveNodeModuleMethod · 0.85
realPathMethod · 0.85
getSourcePathMethod · 0.85
readDepFileMethod · 0.85
addPkgJsonToOutputMethod · 0.85
mainModuleMethod · 0.85
_addFilesMethod · 0.85
prettyPathFunction · 0.85
rewriteRulesFunction · 0.85

Calls 2

toStandardPathFunction · 0.85
toOSPathFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…