Add method readAsStream on fs model

This commit is contained in:
Samy Pesse
2016-05-06 10:53:55 +02:00
parent 11a0a64d9e
commit cf7e5884cd
3 changed files with 31 additions and 2 deletions
+1
View File
@@ -157,6 +157,7 @@ module.exports = {
statSync: fs.statSync,
readdir: Promise.nfbind(fs.readdir),
writeStream: writeStream,
readStream: fs.createReadStream,
copy: Promise.nfbind(cp),
copyDir: Promise.nfbind(cpr),
tmpFile: genTmpFile,