]> Cypherpunks repositories - gostls13.git/commitdiff
archive/zip: remove an out of date TODO
authorJohnny Luo <johnnyluo1980@gmail.com>
Sat, 15 Jul 2017 17:58:00 +0000 (03:58 +1000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sat, 15 Jul 2017 21:14:01 +0000 (21:14 +0000)
It had been implemented. Refer to https://golang.org/pkg/archive/zip/#FileHeader.Comment

Change-Id: I81572562c3111b58189baa3510b9ba688fe269c9
Reviewed-on: https://go-review.googlesource.com/48857
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
Run-TryBot: Joe Tsai <thebrokentoaster@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>

src/archive/zip/writer.go

index f46a03c37e64fdc36b64257abf05fa90e82d1d87..9f4fceee844b0d1d329456ccfd969b4c7805f368 100644 (file)
@@ -14,8 +14,6 @@ import (
        "unicode/utf8"
 )
 
-// TODO(adg): support zip file comments
-
 // Writer implements a zip file writer.
 type Writer struct {
        cw          *countWriter