Module zipp::consts[][src]

Expand description

Some const-variable flag const variable flags

Constants

OpenFlag Perform additional stricter consistency checks on the archive, and error if they fail.

Compression compressed using BZIP2 algorithm

Compression better of deflate or store

Compression deflated

Compression deflate64

Compression imploded

Compression Compressed Jpeg data

Compression IBM LZ77 z Architecture

Compression LZMA (EFS)

Compression

Compression PKWARE imploding

Compression PPMd version I, Rev 1

Compression reduced with factor 1

Compression reduced with factor 2

Compression reduced with factor 3

Compression reduced with factor 4

Compression shrunk

Compression stored (uncompressed)

Compression compressed using IBM TERSE

Compression WavPack compressed data

Compression XZ compressed data

Compression Zstandard compressed data

OpenFlag Create the archive if it does not exist.

Encryption AES-128

Encryption AES-192

Encryption AES-256

Encryption not encrypted

Encryption traditional PKWARE encryption

Encryption unknown algorithm

Error Operation cancelled.

Error Entry has been changed.

Error Closing zip archive failed.

Error Compression method not supported.

Error Compressed data invalid.

Error CRC error.

Error Entry has been deleted.

Error Encryption method not supported.

Error Premature end of file.

Error File already exists.

Error Zip archive inconsistent.

Error Internal error.

Error Resource still in use.

Error Invalid argument.

Error Malloc failure.

Error Multi-disk zip archives not supported.

Error No such file.

Error No password provided.

Error Not a zip archive.

Error No error.

Error Can’t open file.

Error Operation not supported.

Error Read-only archive.

Error Read error.

Error Can’t remove file.

Error Renaming temporary file failed.

Error Seek error.

Error Tell error.

Error Failure to create temporary file.

Error Write error.

Error Wrong password provided.

Error Containing zip archive was closed.

Error Zlib error.

sys_err is libzip error code

sys_err unused

sys_err is errno

sys_err is zlib error code

OpenFlag Error if archive already exists.

in central directory

read compressed data

read encrypted data (implies ZIP_FL_COMPRESSED)

string is CP437 encoded

guess string encoding (is default)

get unmodified string

follow specification strictly

string is UTF-8 encoded

in local header

ignore case on name lookup

ignore directory component

if file with name exists, overwrite (replace) it

force recompression of data

use original data, ignoring changes

OpenFlag Open archive in read-only mode.

Stat get stat all field

Stat get stat comp_method

Stat get stat comp_size

Stat get stat crc

Stat get stat encryption_method

Stat get stat flags

Stat get stat index

Stat get stat mtime

Stat get stat name

Stat get stat size

OpenFlag If archive exists, ignore its current contents. In other words, handle it the same way as an empty archive.