Documentation
¶
Index ¶
Constants ¶
View Source
const ( Zip64ExtraID = 0x0001 // Zip64 extended information NtfsExtraID = 0x000a // NTFS UnixExtraID = 0x000d // UNIX ExtTimeExtraID = 0x5455 // Extended timestamp InfoZipUnixExtraID = 0x5855 // Info-ZIP Unix extension )
Variables ¶
This section is empty.
Functions ¶
func MSDosTimeToTime ¶
Types ¶
type Entry ¶
type Entry struct {
zip.FileHeader
// contains filtered or unexported fields
}
func (*Entry) OpenRaw ¶
func (e *Entry) OpenRaw() (io.ReadCloser, error)
OpenRaw read the entry's original compressed(or stored) data, you must be aware that this method may be significantly slower than the same one in standard package archive/zip, especially handle the entry with a data descriptor because we must decompress all the file to determine its EOF position. See the Unit Test case BenchmarkOpenRaw for details.
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
func (*Reader) GetNextEntry ¶
GetNextEntry return next entry in the zip archive Deprecated, together use Next and Entry instead
Click to show internal directories.
Click to hide internal directories.