Reputation: 3272
This is how I append data to a file:
self.fs.appendFile(targetFilePath, new Buffer(sourceData, 'base64'), function(err) { ... });
How can I remove data from a file that have been appended? This is required if the stream I receive earlier is interrupted and parts have been written.
Is it possible to undo the last append command?
Upvotes: 0
Views: 400