MCPcopy
hub / github.com/webpack/webpack / onlyNonIgnored

Function onlyNonIgnored

test/FileSystemInfo.unittest.js:619–620  ·  view source on GitHub ↗
(/** @type {string[]} */ paths)

Source from the content-addressed store, hash-verified

617 };
618
619 const onlyNonIgnored = (/** @type {string[]} */ paths) =>
620 paths.filter((/** @type {string} */ p) => !ignored.includes(p));
621
622 it("keeps the snapshot valid when watchpack reports `{}` for context dirs", (done) => {
623 buildFsInfoWithSnapshot((err, fs, snapshot) => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected