Function assembly::pk::writer::write_pk_directory
source · pub fn write_pk_directory<W>(
writer: &mut W,
tree: &BTreeMap<CRC, PKEntryData>
) -> Result<(), Error>
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.