Function assembly_pack::pk::writer::write_pk_directory
source · pub fn write_pk_directory<W: Write + Seek>(
writer: &mut W,
tree: &CRCTree<PKEntryData>,
) -> Result<()>
Available on crate feature
pk
only.Expand description
Write the full directory to disk
For a “complete” PK file, this function takes the dictionary as a sorted tree and writes the PK directory as well as the trailer to disk.