pub fn write_xar<W: Write>(entries: &[XarEntry<'_>], writer: W) -> Result<()>Expand description
Write a xar archive holding entries (files and directories).
Layout matches Apple xar(1) defaults: SHA-1 TOC checksum at heap
offset 0, zlib-compressed file data (application/x-gzip) following it
in TOC document order. IDs are assigned in pre-order, the way
productbuild numbers a product archive.