Documentation ¶
Overview ¶
Package zip is an ugly hack to allow kepubify to be build on Go 1.16 with a backported archive/zip from Go 1.17 for much better performance. To use it, build with `-tags zip117`. This tag does not have any effect on any version other than Go 1.16. Note that if other applications embed kepubify and use this option, they must also use the same backported module with (*kepub.Converter).Convert if they want the performance improvements.
Index ¶
Constants ¶
View Source
const Deflate = zip.Deflate
View Source
const Store = zip.Store
Variables ¶
View Source
var ErrAlgorithm = zip.ErrAlgorithm
View Source
var ErrChecksum = zip.ErrChecksum
View Source
var ErrFormat = zip.ErrFormat
View Source
var FileInfoHeader = zip.FileInfoHeader
View Source
var NewReader = zip.NewReader
View Source
var NewWriter = zip.NewWriter
View Source
var OpenReader = zip.OpenReader
View Source
var RegisterCompressor = zip.RegisterCompressor
View Source
var RegisterDecompressor = zip.RegisterDecompressor
Functions ¶
This section is empty.
Types ¶
type Compressor ¶
type Compressor = zip.Compressor
type Decompressor ¶
type Decompressor = zip.Decompressor
type FileHeader ¶
type FileHeader = zip.FileHeader
type ReadCloser ¶
type ReadCloser = zip.ReadCloser
Click to show internal directories.
Click to hide internal directories.