Skip to main content

Module journal

Module journal 

Source
Expand description

Progress record that makes an interrupted extraction resumable.

ZIP and 7z keep their index at the end of the archive, which is the first thing truncation destroys. So before the first byte is reclaimed the tail of the archive is copied to a side file, and from then on the archive is parsed through a reader that serves the saved tail at its old offsets.

Re-exports§

pub use crate::archive::targz::StreamPoint;
pub use crate::archive::targz::TarAt;

Structs§

Journal
Link
Paths
Plan
Replace
Resume
Where extraction of a large file can pick up again after a crash. Its output up to written is flushed to disk, and the archive bytes before the one holding bit may already be freed, so this is the only way back.