Your browser sucks, JavaScript disabled! Gunnar's console needs JavaScript and WebAssembly. Git over SSH on port 2222 does not.

nordisk/znippy-zoomies

lzip-parallel/src/central_dir.rs

//! ZIP Central Directory parser — thin re-export of the shared `znippy_zip_core` crate.
//!
//! The EOCD / ZIP64 walk and the in-memory + streaming CD readers are
//! byte-for-byte identical to ljar's (a JAR is a ZIP), so the parser lives once
//! in [`znippy_zip_core::central_dir`] (reuse-law, task #19) and lzip-parallel consumes
//! it here.  The historical `lzip_parallel::central_dir::{EntryLocation,
//! read_central_directory, read_central_directory_from}` paths are preserved.
//!
//! The parser's own error is [`znippy_zip_core::ScanError`]; it converts into
//! [`crate::entry::ZipError`] via a `From` impl so lzip's error surface is
//! unchanged.

pub use znippy_zip_core::EntryLocation;
pub use znippy_zip_core::central_dir::{read_central_directory, read_central_directory_from};