pub struct SourceHardlinkSnapshot {Show 16 fields
pub name: String,
pub name_utf16: Vec<u16>,
pub cnid: u32,
pub parent_cnid: u32,
pub inode_source_cnid: u32,
pub inode_num: u32,
pub flags: u16,
pub finder_info: [u8; 16],
pub extended_finder_info: [u8; 16],
pub bsd_info: [u8; 16],
pub create_date: u32,
pub content_mod_date: u32,
pub attribute_mod_date: u32,
pub access_date: u32,
pub backup_date: u32,
pub text_encoding: u32,
/* private fields */
}Expand description
One file-hardlink stub captured from the source catalog. Replay creates
inode_count inodes once and N stub rows pointing at them.
Fields§
§name: StringStub name visible in the user directory.
name_utf16: Vec<u16>§cnid: u32Source CNID of the stub catalog row (not the inode).
parent_cnid: u32User-visible parent CNID.
inode_source_cnid: u32Source CNID of the inode this stub references. The inode appears
in SourceCatalogSnapshot::files with is_inode = true and the
matching cnid.
inode_num: u32Original iNodeNum (bsdInfo.special u32). Replay can re-use this
number directly since target CNIDs differ from source CNIDs.
flags: u16§finder_info: [u8; 16]§extended_finder_info: [u8; 16]§bsd_info: [u8; 16]§create_date: u32§content_mod_date: u32§attribute_mod_date: u32§access_date: u32§backup_date: u32§text_encoding: u32Trait Implementations§
Source§impl Clone for SourceHardlinkSnapshot
impl Clone for SourceHardlinkSnapshot
Auto Trait Implementations§
impl Freeze for SourceHardlinkSnapshot
impl RefUnwindSafe for SourceHardlinkSnapshot
impl Send for SourceHardlinkSnapshot
impl Sync for SourceHardlinkSnapshot
impl Unpin for SourceHardlinkSnapshot
impl UnsafeUnpin for SourceHardlinkSnapshot
impl UnwindSafe for SourceHardlinkSnapshot
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