Lines Matching refs:fh
100 fh *FileHeader member
103 func (fi headerFileInfo) Name() string { return path.Base(fi.fh.Name) }
105 if fi.fh.UncompressedSize64 > 0 {
106 return int64(fi.fh.UncompressedSize64)
108 return int64(fi.fh.UncompressedSize)
111 func (fi headerFileInfo) ModTime() time.Time { return fi.fh.ModTime() }
112 func (fi headerFileInfo) Mode() os.FileMode { return fi.fh.Mode() }
113 func (fi headerFileInfo) Sys() interface{} { return fi.fh }
122 fh := &FileHeader{
126 fh.SetModTime(fi.ModTime())
127 fh.SetMode(fi.Mode())
128 if fh.UncompressedSize64 > uint32max {
129 fh.UncompressedSize = uint32max
131 fh.UncompressedSize = uint32(fh.UncompressedSize64)
133 return fh, nil
237 func (fh *FileHeader) isZip64() bool {
238 return fh.CompressedSize64 >= uint32max || fh.UncompressedSize64 >= uint32max