Expand description
EROFS image reading and parsing functionality.
This module provides safe parsing and navigation of EROFS filesystem images, including inode traversal, directory reading, and object reference collection for garbage collection.
Structs§
- Array 🔒
- Data
Block - Data block containing file content
- Directory
Block - Directory block containing directory entries
- Directory
Entries - Iterator over directory entries in a directory block
- Directory
Entry - A single directory entry with header and name
- Image
- Parsed EROFS image with references to key structures
- Inode
- Inode structure with header and variable-length data
- InodeX
Attrs - Extended attributes section of an inode
- Object
Collector - Collects object references from an EROFS image for garbage collection
- XAttr
- Extended attribute entry with header and variable-length data
- XAttr
Iter - Iterator over local extended attributes
Enums§
- Erofs
Reader Error - Errors that can occur when reading EROFS images
- Inode
Type - Inode type enum allowing static dispatch for different header layouts
Traits§
- Inode
Header - Common interface for accessing inode header fields across different layouts
- Inode
Ops - Operations on inode data
Functions§
- collect_
objects - Collects all object references from an EROFS image
- round_
up - Rounds up a value to the nearest multiple of
to