I found this issue in docgen/doctest, where at the end of the main function there is a call to try out_file_writer.end();
Is it really necessary to set the end position?
Thanks.
I found this issue in docgen/doctest, where at the end of the main function there is a call to try out_file_writer.end();
Is it really necessary to set the end position?
Thanks.
Depends on how the file is used, but in those specific cases I don’t think its necessary.
Basically if when you open/create a file you truncate the existing file (default for create). Then setting the end position is not necessary.