Skip to main content

Module reader

Module reader 

Source
Expand description

Minimal EROFS reader for extracting file contents from our own images.

Only supports the subset of EROFS that our writer produces:

  • Extended inodes (64 bytes)
  • Uncompressed data (FLAT_PLAIN or FLAT_INLINE)
  • Sorted directory entries (binary search)
  • No shared xattrs, no compression, no chunks

Structs§

ErofsEntryInfo
ErofsFileDataReader
Streaming reader for a regular file stored inside an EROFS image.
ErofsReader
A handle to an open EROFS image for reading.
ErofsTreeEntry
A filesystem entry discovered while walking an EROFS image.

Enums§

ErofsEntryKind

Functions§

entry_info_from_erofs
read_file_from_erofs
Read a file from an EROFS image file on disk.