MCPcopy Index your code
hub / github.com/rollup/plugins / normalizeForCompare

Function normalizeForCompare

packages/typescript/test/test.js:1866–1869  ·  view source on GitHub ↗
(p)

Source from the content-addressed store, hash-verified

1864 try {
1865 // Ensure Rollup did not pull any files from the outDir into the graph
1866 const normalizeForCompare = (p) => {
1867 const r = path.resolve(p);
1868 return process.platform === 'win32' ? r.toLowerCase() : r;
1869 };
1870 const outDirAbs = normalizeForCompare(outDir);
1871 const isInside = (parent, child) => {
1872 const rel = path.relative(parent, normalizeForCompare(child));

Callers 2

test.jsFile · 0.85
isInsideFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected