Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Writer: initialize the writer on Flush() if wasn't initialized before
This allows compressing empty files, because without this change the proper headers were not emitted when reading an empty file via e.g. io.Copy(). Signed-off-by: Nikolay Edigaryev <[email protected]>
- Loading branch information