hpk-package/src/tar
Nathan Fisher e6f392bd7a Merge branch 'odin' of git.hitchhiker-linux.org:jeang3nie/hpk-package into odin 2023-04-11 22:04:54 -04:00
..
README.md Split from hpk crate 2023-04-02 18:51:12 -04:00
error.rs Split from hpk crate 2023-04-02 18:51:12 -04:00
header.rs Merge branch 'odin' of git.hitchhiker-linux.org:jeang3nie/hpk-package into odin 2023-04-09 01:36:26 -04:00
mod.rs Make Archive::remove parallel; Add Archive::pop method; 2023-04-10 19:17:26 -04:00
node.rs Writer for tar nodes takes `&self` instead of `self` 2023-04-11 22:03:09 -04:00

README.md

About

Derived originally from minitar, this crate implements basic functionality for creating and extracting tar archives. It has been adapted to allow creation of a Node (Tar header + 512byte blocks of data) from the raw data plus file metadata. This allows for better efficiency when it is embedded into another application (such as a package manager), as the raw data and metadata about each file can be extracted once and reused for purposes such as generating checksums, getting file sizes and creating packing lists.