MCPcopy
hub / github.com/dropzone/dropzone / accept

Function accept

src/options.js:396–398  ·  view source on GitHub ↗

* A function that gets a [file](https://developer.mozilla.org/en-US/docs/DOM/File) * and a `done` function as parameters. * * If the done function is invoked without arguments, the file is "accepted" and will * be processed. If you pass an error message, the file is rejected, and the err

(file, done)

Source from the content-addressed store, hash-verified

394 * This function will not be called if the file is too big or doesn't match the mime types.
395 */
396 accept(file, done) {
397 return done();
398 },
399
400 /**
401 * The callback that will be invoked when all chunks have been uploaded for a file.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…