#[repr(C)]pub struct EntryRecord {
pub host_ino: u64,
pub size: u64,
pub name_off: u32,
pub mode: u32,
pub uid: u32,
pub gid: u32,
pub name_len: u16,
pub flags: u8,
pub _pad: u8,
pub dir_record_idx: u32,
}Expand description
A filesystem entry in the index (40 bytes, 8-byte aligned). Grouped by parent directory (contiguous), sorted by name within each group.
Fields§
§host_ino: u64Host inode number (LowerOriginId.object_id).
size: u64File size in bytes.
name_off: u32String pool offset for entry name.
mode: u32Full stat mode including S_IFMT type bits.
uid: u32Guest-visible uid (from override_stat xattr).
gid: u32Guest-visible gid (from override_stat xattr).
name_len: u16Byte length of name.
flags: u8Flags (bit 0 = ENTRY_FLAG_WHITEOUT).
_pad: u8Padding.
dir_record_idx: u32DirRecord index for directory entries; DIR_RECORD_IDX_NONE for non-dirs.
Trait Implementations§
Source§impl Clone for EntryRecord
impl Clone for EntryRecord
Source§fn clone(&self) -> EntryRecord
fn clone(&self) -> EntryRecord
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EntryRecord
impl Debug for EntryRecord
impl Copy for EntryRecord
Auto Trait Implementations§
impl Freeze for EntryRecord
impl RefUnwindSafe for EntryRecord
impl Send for EntryRecord
impl Sync for EntryRecord
impl Unpin for EntryRecord
impl UnsafeUnpin for EntryRecord
impl UnwindSafe for EntryRecord
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