Expand description
Allows ZIP archives to be created in S3 from files stored in S3.
Modules§
- aws
- Provides ways of interacting with objects in S3.
Structs§
- Archiver
- An Archiver allows the creation of a ZIP archive in S3 allowing control of what and how the data is written into S3.
- Manifest
Entry - A single entry in the manifest file which describes a single entry in the output ZIP archive.
- Manifest
File Upload - Serializes a sequence of ManifestEntry instances into S3 as a JSONL file.
- ZipEntries
- Provide a method of iterating over the details of archived files without reading the entire archive.
Enums§
- Compression
- The compression algorithms that are available to be used to compress entries in the ZIP archive.
Functions§
- unarchive_
all - Extract all files from the ZIP at the
zip_filelocation into the destination prefix. If any of the files in the ZIP are larger thanchunk_sizethen is is uploaded to S3 as a multipart upload. - validate_
manifest_ file - Validates that all the src files from ManifestEntry records in the
manifest file exist, and that their CRC32 values match the value in the manifest.
The
fetch_concurrencyin the number of source files that will be fetched concurrently from S3. Thevalidate_concurrencyis the number of source files that will be validated concurrently. - validate_
zip_ central_ dir - Validate that the CRC32 value and filenames in each ManifestEntry
in the
manifest_filematches those in the central directory of thezip_file. - validate_
zip_ entry_ bytes - Validate each ZIP entry by reading each ManifestEntry from the
manifestfile and ensuring that the CRC32 of bytes in the ZIP archive match those recorded in the manifest file.