Dashboard
Specification
Planning
Implementation
src/manifest.rs — JSON manifest for transfer metadata and state persistence.
src/manifest.rs
Manifest::new creates a manifest tracking source path, chunk count, sizes, checksums, and algorithm. Serialized to airgap-transfer-manifest.json.
Manifest::new
airgap-transfer-manifest.json
update_chunk tracks per-chunk status (pending, in-progress, completed, failed). first_incomplete_chunk enables resume by finding the first non-completed chunk.
update_chunk
first_incomplete_chunk
The hash_algorithm field in the manifest records which algorithm was used, so the unpack side uses the matching verifier.
hash_algorithm