Add core stream storage driver
See original GitHub issueSo I am working with the “transform file” branch from #356 and I realized that what I really want is just a stream storage driver. Basically it would be one that just doesn’t read from the stream at all and relies on you doing that in your handler method. What do you think about this?
Here is basically what I was thinking it would look like:
function StreamStorage (opts) {}
StreamStorage.prototype._handleFile = function _handleFile (req, file, cb) {
cb(null, {})
}
StreamStorage.prototype._removeFile = function _removeFile (req, file, cb) {
// Not sure if we would need to flush out the stream or not here...
cb(null)
}
module.exports = function (opts) {
return new StreamStorage(opts)
}
Issue Analytics
- State:
- Created 7 years ago
- Comments:15 (15 by maintainers)
Top Results From Across the Web
Intel® Rapid Storage Technology Driver Installation Software ...
Intel® Rapid Storage Technology Driver Installation Software with Intel® ... RST) Driver 19.5.1.1040 supports 11th Gen up to 13th Gen Intel Core platforms....
Read more >We couldn't find any drives To get a storage driver ... - YouTube
Hi All,If you needs to install new windows 10 and you don't see hard disk installed to install at, you need to check...
Read more >How To Fix HP Couldn't Find Storage Driver Load ... - YouTube
Hey everyone, today we are going to show in this video How To Fix HP Couldn't Find Storage Driver Load Error in Windows...
Read more >How To Fix Lenovo Couldn't Find Storage Driver Load Error in ...
Today we are going to be showing you How to fix Lenovo Won't Detect Hard Drive For Windows Install.HP Storage Driver Missing: ...
Read more >About storage drivers - Docker Documentation
A storage driver handles the details about the way these layers interact with each other. Different storage drivers are available, which have ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hmmm, I actually have some ideas here, I’ll try and write them down after work…
Yes, limits will help, but there are unknowns in the new direction, that we are not aware about, which could cause issues.
Best would be to review the “tangible” API when its ready for review.