fs-write-stream-atomic
fs-write-stream-atomic copied to clipboard
Like `fs.createWriteStream(...)`, but atomic.
Hi, I had added ppc64le support on Travis-ci and Its been success added and build. Kindly review and merge same. Changes done are added ppc64le arch. The Travis ci build...
# What / Why With the addition of Worker Threads [0] in Node, multiple concurrent threads could attempt to write to the same temporary filename, given they share the same...
It would be very useful to be able to set the location where the temp file is written to, could this be added as an option? And if it isn't...
Would be useful if this module could support appends `{ flags: 'a' }`. I'm not sure how this would be implemented though. I guess you'd have to copy the entire...
When the readable stream source emit an error : - fs-write-stream-atomic doesn't remove the temp file. - fs-write-stream-atomic doesn't emit error. This file leaks and cannot be removed. I've write...
Currently, if you're doing stuff using `fsWriteStreamAtomic()` and cancels the process the temp file will remain in place. Optimally it'd clean up any temp files on exit. Also, are there...