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

Function createFileSystemFileHandle

src/index.spec.js:3802–3804  ·  view source on GitHub ↗

* createFileSystemFileHandle creates a mock [FileSystemFileHandle](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileHandle) * @param {File} file

(file)

Source from the content-addressed store, hash-verified

3800 * @param {File} file
3801 */
3802function createFileSystemFileHandle(file) {
3803 return { getFile: () => Promise.resolve(file) };
3804}
3805
3806/**
3807 * createFile creates a mock File object

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…