Struct object::read::archive::ArchiveMember [−][src]
pub struct ArchiveMember<'data> { /* fields omitted */ }
A partially parsed archive member.
Implementations
impl<'data> ArchiveMember<'data>
[src]
impl<'data> ArchiveMember<'data>
[src]pub fn header(&self) -> &'data Header
[src]
Return the raw header.
pub fn name(&self) -> &'data [u8]
[src]
Return the parsed file name.
This may be an extended file name.
pub fn date(&self) -> Option<usize>
[src]
Parse the file modification timestamp from the header.
pub fn uid(&self) -> Option<usize>
[src]
Parse the user ID from the header.
pub fn gid(&self) -> Option<usize>
[src]
Parse the group ID from the header.
pub fn mode(&self) -> Option<usize>
[src]
Parse the file mode from the header.
pub fn data(&self) -> &'data [u8]
[src]
Return the file data.