Struct tar::UstarHeader [−][src]
#[repr(C)]pub struct UstarHeader {Show 17 fields
pub name: [u8; 100],
pub mode: [u8; 8],
pub uid: [u8; 8],
pub gid: [u8; 8],
pub size: [u8; 12],
pub mtime: [u8; 12],
pub cksum: [u8; 8],
pub typeflag: [u8; 1],
pub linkname: [u8; 100],
pub magic: [u8; 6],
pub version: [u8; 2],
pub uname: [u8; 32],
pub gname: [u8; 32],
pub dev_major: [u8; 8],
pub dev_minor: [u8; 8],
pub prefix: [u8; 155],
pub pad: [u8; 12],
}
Expand description
Representation of the header of an entry in an archive
Fields
name: [u8; 100]
mode: [u8; 8]
uid: [u8; 8]
gid: [u8; 8]
size: [u8; 12]
mtime: [u8; 12]
cksum: [u8; 8]
typeflag: [u8; 1]
linkname: [u8; 100]
magic: [u8; 6]
version: [u8; 2]
uname: [u8; 32]
gname: [u8; 32]
dev_major: [u8; 8]
dev_minor: [u8; 8]
prefix: [u8; 155]
pad: [u8; 12]
Implementations
See Header::username_bytes
See Header::set_username
See Header::groupname_bytes
See Header::set_groupname
See Header::device_major
See Header::set_device_major
See Header::device_minor
See Header::set_device_minor
Views this as a normal Header