-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow zero backups #59
Milestone
Comments
I tried the following and it didn't work. var rollers = require('streamroller');
var stream = new rollers.RollingFileStream('myfile', 3, 0);
stream.write("abc");
stream.write("def");
stream.write("ghi");
stream.end(); Output:
|
I tried the following and it now works. Important var rollers = require('streamroller');
var stream = new rollers.RollingFileStream('myfile', 6, 0);
stream.write("abc"); // add as first row
stream.write("def"); // add as second row
stream.write("ghi"); // truncate all and add as first row
stream.end(); Output:
|
For details, refer to #74 (comment) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is possible to allow zero backups files?
The text was updated successfully, but these errors were encountered: