Nathan Fisher
35dfc99176
std::os::<linux,freebsd>::fs::MetadataExt. Not intending to use hpk on FreeBSD but this enables development from either platform |
||
---|---|---|
.. | ||
README.md | ||
error.rs | ||
header.rs | ||
mod.rs | ||
node.rs |
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.