pub struct StuffItEntry {
pub path: Vec<String>,
pub name: String,
pub is_dir: bool,
pub type_code: [u8; 4],
pub creator_code: [u8; 4],
pub finder_flags: u16,
pub create_date: u32,
pub mod_date: u32,
pub data: Option<ForkInfo>,
pub rsrc: Option<ForkInfo>,
}Expand description
One file or folder in a StuffIt archive.
Fields§
§path: Vec<String>Path components from the archive root (last element is the name).
name: StringLeaf name (Mac Roman → UTF-8).
is_dir: boolTrue for folder markers (no fork data).
type_code: [u8; 4]§creator_code: [u8; 4]§finder_flags: u16§create_date: u32Mac 1904-epoch timestamps.
mod_date: u32§data: Option<ForkInfo>Data fork (absent for folders).
rsrc: Option<ForkInfo>Resource fork (absent for folders).
Implementations§
Source§impl StuffItEntry
impl StuffItEntry
Sourcepub fn display_path(&self) -> String
pub fn display_path(&self) -> String
Display path joined with /.
Trait Implementations§
Source§impl Clone for StuffItEntry
impl Clone for StuffItEntry
Auto Trait Implementations§
impl Freeze for StuffItEntry
impl RefUnwindSafe for StuffItEntry
impl Send for StuffItEntry
impl Sync for StuffItEntry
impl Unpin for StuffItEntry
impl UnsafeUnpin for StuffItEntry
impl UnwindSafe for StuffItEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more