Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit a3bf0a6

Browse files
committed
fix: add jsdoc to pushFile
1 parent 7489447 commit a3bf0a6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/utils/multipart-experimental.js

+7
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,13 @@ class Multipart extends Duplex {
156156
return true
157157
}
158158

159+
/**
160+
* Consume file and push to readable stream
161+
*
162+
* @param {(Buffer|Readable|PullStream)} file
163+
* @param {function(): void} callback
164+
* @return {void}
165+
*/
159166
pushFile (file, callback) {
160167
this.pushChunk(leading(file.headers, this._boundary), true)
161168

0 commit comments

Comments
 (0)