File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ const { kUsePromises } = binding;
92
92
const {
93
93
JSTransferable, kDeserialize, kTransfer, kTransferList
94
94
} = require ( 'internal/worker/js_transferable' ) ;
95
+ const Writable = require ( 'internal/streams/writable' ) ;
95
96
96
97
const getDirectoryEntriesPromise = promisify ( getDirents ) ;
97
98
const validateRmOptionsPromise = promisify ( validateRmOptions ) ;
@@ -133,6 +134,16 @@ class FileHandle extends EventEmitterMixin(JSTransferable) {
133
134
return fsCall ( fdatasync , this ) ;
134
135
}
135
136
137
+ /**
138
+ * @param {Writable } dst Refs to stream.pipeline destination
139
+ * @param {Object } options
140
+ * @param {Number } [options.start=0]
141
+ * @param {Number } [options.end]
142
+ * @param {Object } [options.signal]
143
+ */
144
+ stream ( dst , options ) {
145
+ }
146
+
136
147
sync ( ) {
137
148
return fsCall ( fsync , this ) ;
138
149
}
You can’t perform that action at this time.
0 commit comments