use-tar 0.1.0

Tar entry labels and typeflag mappings for RustUse
Documentation
  • Coverage
  • 100%
    19 out of 19 items documented1 out of 5 items with examples
  • Size
  • Source code size: 6.64 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 369.82 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 4s Average build duration of successful builds.
  • all releases: 4s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-archive
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-tar

Tar entry labels and typeflag mappings.

This crate is part of the use-archive facade workspace. It provides tar-specific primitive labels only. It does not parse tar headers, read tar archives, write tar archives, or extract files.

Example

use use_tar::TarEntryType;

assert_eq!(TarEntryType::from_typeflag(b'5'), TarEntryType::Directory);
assert_eq!(TarEntryType::Regular.typeflag(), Some(b'0'));