Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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)));
292
const
pathRelative =
293
(p1, p2) => toStandardPath(path.relative(toOSPath(p1), toOSPath(p2)));
Callers
12
resolveNodeModule
Method · 0.85
realPath
Method · 0.85
getSourcePath
Method · 0.85
readDepFile
Method · 0.85
getNodeModulesAbsModuleId
Method · 0.85
getSourceRootAbsModuleId
Method · 0.85
addPkgJsonToOutput
Method · 0.85
resolvePkgJsonBrowserAliases
Method · 0.85
mainModule
Method · 0.85
_addFiles
Method · 0.85
prettyPath
Function · 0.85
rewriteRules
Function · 0.85
Calls
2
toStandardPath
Function · 0.85
toOSPath
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…