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.