Skip to content

Commit c26be72

Browse files
RTanngopherbot
authored andcommitted
archive/zip: fix UncompressedSize godoc
Change-Id: I0c142eb18af7b03759041e894bbce0f365ea9d7e Reviewed-on: https://go-review.googlesource.com/c/go/+/588116 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent 8e2b3ac commit c26be72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/archive/zip/struct.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ type FileHeader struct {
143143
// Deprecated: Use CompressedSize64 instead.
144144
CompressedSize uint32
145145

146-
// UncompressedSize is the compressed size of the file in bytes.
146+
// UncompressedSize is the uncompressed size of the file in bytes.
147147
// If either the uncompressed or compressed size of the file
148-
// does not fit in 32 bits, CompressedSize is set to ^uint32(0).
148+
// does not fit in 32 bits, UncompressedSize is set to ^uint32(0).
149149
//
150150
// Deprecated: Use UncompressedSize64 instead.
151151
UncompressedSize uint32

0 commit comments

Comments
 (0)