A Rust crate for parsing, dumping and manipulating JIF (Junction Image Format) files.
The library is organized as follows:
- The types that model JIFs are in
src/{jif,ord,pheader}.rs
and insrc/itree
. - The deduper (that coallesces equal segments of memory) is in
src/deduper.rs
. - Error types are in
src/error
- Utilities are in
src/util.rs
- The
read
directory contains all the parsing functionality - The
write
directory contains all the dumping functionality
We maintain this materialized vs. raw distinction and parallel across the crate. A raw type is one that maps very faithfully to the wire format. A materialized type is one that contains the concept with all the references resolved (e.g., a pathname offset becomes the actual pathname).