Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
archive/zip: support "end of central directory record comment" (not file header comment) #21634
ZIP formart has 2 types comment.
(more detail of zip format, see also: https://en.wikipedia.org/wiki/Zip_(file_format))
Not supported go source code is bellow.
I think following commit is mistake, because file header comment had been supported since Go1 released.
I propose to support "end of central directory record comment".
Add SetComment method to zip.Writer, such as bellow.
I will send patch if this proposal is acceptable.