Expand description
§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'));Tar entry labels and typeflag mappings for RustUse.
Enums§
- TarEntry
Type - Tar entry type labels.
Constants§
- TAR_
EXTENSION - Common tar file extension.
- TAR_
GZIP_ EXTENSION - Common gzip-compressed tar extension.
- TAR_
XZ_ EXTENSION - Common xz-compressed tar extension.
- TAR_
ZSTD_ EXTENSION - Common zstd-compressed tar extension.