1
0
mirror of https://github.com/golang/go synced 2024-11-23 18:00:06 -07:00

archive/zip: makes receiver name consistent

Change-Id: I4d6f7440747d4f935acddc9a5c5928ed911a2fb0
Reviewed-on: https://go-review.googlesource.com/120515
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Santhosh Kumar Tekuri 2018-06-22 16:50:31 +05:30 committed by Brad Fitzpatrick
parent 85a0192b59
commit 0b30cf534a

View File

@ -303,8 +303,8 @@ func (h *FileHeader) SetMode(mode os.FileMode) {
}
// isZip64 reports whether the file size exceeds the 32 bit limit
func (fh *FileHeader) isZip64() bool {
return fh.CompressedSize64 >= uint32max || fh.UncompressedSize64 >= uint32max
func (h *FileHeader) isZip64() bool {
return h.CompressedSize64 >= uint32max || h.UncompressedSize64 >= uint32max
}
func msdosModeToFileMode(m uint32) (mode os.FileMode) {