Expand description
Test utilities for archive creation and validation.
This module provides reusable helpers for creating in-memory test archives, reducing code duplication across format-specific tests.
§Panics
All functions in this module may panic on I/O errors since they are designed for test use only where panics are acceptable.
Structs§
- TarTest
Builder - Builder for creating TAR test archives with various entry types.
- ZipTest
Builder - Builder for creating ZIP test archives with various entry types.
Functions§
- create_
test_ tar - Creates an in-memory TAR archive from a list of entries.
- create_
test_ zip - Creates an in-memory ZIP archive from a list of entries.