MCPcopy
hub / github.com/node-formidable/formidable / onPart

Method onPart

src/Formidable.js:305–308  ·  view source on GitHub ↗
(part)

Source from the content-addressed store, hash-verified

303 }
304
305 onPart(part) {
306 // this method can be overwritten by the user
307 return this._handlePart(part);
308 }
309
310 async _handlePart(part) {
311 if (part.originalFilename && typeof part.originalFilename !== 'string') {

Callers 3

formidable.test.jsFile · 0.80
createInitMultipartFunction · 0.80

Calls 1

_handlePartMethod · 0.95

Tested by

no test coverage detected