use-cpio 0.1.0

CPIO archive labels, extensions, and entry metadata primitives for RustUse
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# use-cpio

CPIO archive labels, entry kinds, and extension helpers.

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

## Example

```rust
use use_cpio::{CpioEntryKind, CpioFormat, is_cpio_filename};

assert!(is_cpio_filename("initramfs.cpio.gz"));
assert_eq!(CpioFormat::NewAscii.as_str(), "new-ascii");
assert_eq!(CpioEntryKind::Symlink.as_str(), "symlink");
```