Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrArchiveTooLarge = xerrors.New("archive exceeds maximum size")
ErrArchiveTooLarge reports that archive expansion would exceed the configured limit.
var ErrInvalidZipContent = xerrors.New("invalid zip content")
ErrInvalidZipContent reports that a ZIP entry is malformed or its contents fail validation during conversion.
Functions ¶
func CreateTarFromZip ¶
CreateTarFromZip converts the given zipReader to a tar archive. maxSize limits the total tar output, including tar metadata.
func CreateZipFromTar ¶
CreateZipFromTar converts the given tarReader to a zip archive.
Types ¶
This section is empty.