Crate compress_manager

Source

Enums§

Decoder
Represents the compression decoding algorithm.
DirDecoder
Represents the compression decoding algorithm for directory.
DirEncoder
Represents the compression encoding algorithm for directory.
Encoder
Represents the compression encoding algorithm.

Functions§

pack
pack_directory
Archives the source directory “src_dir_path” with archival method and compression and saves to “dst_path”. If “dst_path” exists, it overwrites.
pack_file
Compresses the contents in “src_path” using compression algorithms and saves it to “dst_path”. Note that even if “dst_path” already exists, it truncates (overwrites).
unpack
unpack_directory
Un-archives the file with compression and archival method to the destination directory “dst_dir_path”.
unpack_file
Decompresses the contents in “src_path” using compression algorithms and saves it to “dst_path”. Note that even if “dst_path” already exists, it truncates (overwrites).