MCPcopy
hub / github.com/browserify/browserify / relativePath

Function relativePath

index.js:873–876  ·  view source on GitHub ↗
(from, to)

Source from the content-addressed store, hash-verified

871 return !regexp.test(file);
872}
873function relativePath (from, to) {
874 // Replace \ with / for OS-independent behavior
875 return cachedPathRelative(from, to).replace(/\\/g, '/');
876}

Callers 1

index.jsFile · 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…