Expand description
The engine behind HatchZip: extracts ZIP, 7z, tar, .tar.gz and RAR archives,
split or not, while truncating the archive behind itself (or, for a
.tar.gz, punching out what it has decoded), so the disk only ever has to
hold about the output.
RAR needs the rar feature, which compiles UnRAR’s C++ source under its
own license (LICENSE-UNRAR); without it, RAR archives are refused before
anything is touched.
Front ends start in session: locate an archive, open it (fresh or
half-extracted), get a session::SpacePlan, then hand a engine::Run
the job. restore turns a half-extracted archive back into a normal
one instead.
Re-exports§
pub use engine::human;
Modules§
- archive
- What the engine needs from an archive format: the archive split into units, byte ranges that can be truncated away once every file in them is safely on disk, and a way to decode one unit.
- engine
- In-place extraction, independent of the archive format.
- journal
- Progress record that makes an interrupted extraction resumable.
- restore
- Turning a half-extracted archive back into a normal one.
- session
- Opening an archive for extraction and working out whether it fits. Shared by the command line and the GUI, so the two never disagree.