pub struct SourceFileSnapshot {Show 14 fields
pub name: String,
pub name_raw: Vec<u8>,
pub cnid: u32,
pub parent_cnid: u32,
pub flags: u8,
pub finfo: [u8; 16],
pub fxinfo: [u8; 16],
pub create_date: u32,
pub modify_date: u32,
pub backup_date: u32,
pub data_size: u32,
pub data_extents: [HfsExtDescriptor; 3],
pub rsrc_size: u32,
pub rsrc_extents: [HfsExtDescriptor; 3],
}Expand description
Per-file metadata captured from a classic-HFS catalog file record.
Fields§
§name: String§name_raw: Vec<u8>§cnid: u32Source CNID (filFlNum). Targets get fresh CNIDs so this is for building the source→target CNID map only.
parent_cnid: u32§flags: u8filFlags byte (offset 2) — bit 0x01 = locked.
finfo: [u8; 16]16-byte FInfo (fdType, fdCreator, fdFlags, fdLocation, fdFldr).
fxinfo: [u8; 16]16-byte FXInfo (fdIconID, fdScript, fdXFlags, fdComment, fdPutAway).
create_date: u32§modify_date: u32§backup_date: u32§data_size: u32§data_extents: [HfsExtDescriptor; 3]§rsrc_size: u32§rsrc_extents: [HfsExtDescriptor; 3]Implementations§
Trait Implementations§
Source§impl Clone for SourceFileSnapshot
impl Clone for SourceFileSnapshot
Auto Trait Implementations§
impl Freeze for SourceFileSnapshot
impl RefUnwindSafe for SourceFileSnapshot
impl Send for SourceFileSnapshot
impl Sync for SourceFileSnapshot
impl Unpin for SourceFileSnapshot
impl UnsafeUnpin for SourceFileSnapshot
impl UnwindSafe for SourceFileSnapshot
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