pub trait CpioHeader: Debug {
    fn device(&self) -> u32;
    fn inode(&self) -> u32;
    fn mode(&self) -> u32;
    fn uid(&self) -> u32;
    fn gid(&self) -> u32;
    fn nlink(&self) -> u32;
    fn rdev(&self) -> u32;
    fn mtime(&self) -> u32;
    fn file_size(&self) -> u64;
    fn name(&self) -> &str;

    fn modified_time(&self) -> DateTime<Utc> { ... }
}
Expand description

Common behavior for a header/entry in a cpio archive.

Required Methods

Device number.

Inode number.

File mode.

User ID.

Group ID.

Number of links.

Associated device number.

Modified time as seconds since UNIX epoch.

File size in bytes.

File name.

Provided Methods

Modified time as a DateTime.

Implementors