#[repr(C)]pub struct DirRecord {
pub path_off: u32,
pub path_len: u16,
pub flags: u8,
pub _pad: u8,
pub first_entry: u32,
pub entry_count: u32,
pub tombstone_off: u32,
pub tombstone_count: u16,
pub _pad2: u16,
}Expand description
A directory in the index (24 bytes). Sorted by path (lexicographic).
Fields§
§path_off: u32String pool offset for directory path.
path_len: u16Byte length of path ("" for root, "etc", "usr/bin").
flags: u8Flags (bit 0 = DIR_FLAG_OPAQUE).
_pad: u8Padding.
first_entry: u32Index of first child in the entry table.
entry_count: u32Number of children in this directory.
tombstone_off: u32String pool offset for overflow tombstone data (0 = none).
tombstone_count: u16Number of overflow tombstoned names.
_pad2: u16Padding.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DirRecord
impl RefUnwindSafe for DirRecord
impl Send for DirRecord
impl Sync for DirRecord
impl Unpin for DirRecord
impl UnsafeUnpin for DirRecord
impl UnwindSafe for DirRecord
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