MCPcopy Create free account
hub / github.com/react-dropzone/react-dropzone / matchToFiles

Function matchToFiles

src/index.spec.js:2594–2597  ·  view source on GitHub ↗
(fileList, files)

Source from the content-addressed store, hash-verified

2592 node.querySelectorAll(`[data-type="error"]`);
2593
2594 const matchToFiles = (fileList, files) =>
2595 Array.from(fileList).every(
2596 (item) => !!files.find((file) => file.name === item.textContent)
2597 );
2598 const matchToErrorCode = (errorList, code) =>
2599 Array.from(errorList).every((item) => item.textContent === code);
2600

Callers 1

index.spec.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…