Documentation
¶
Overview ¶
Package erofs provides a read-only reader for uncompressed EROFS images. The on-disk layout follows the Linux kernel's fs/erofs/erofs_fs.h; the parsing code is adapted from the MIT-licensed github.com/emmanuel-deloget/fsforge/pkg/erofs reader.
Package erofs implements a read-only reader for uncompressed EROFS (Enhanced Read-Only File System) images. It understands both inode forms (compact 32-byte and extended 64-byte) and the two uncompressed data layouts (FLAT_PLAIN and FLAT_INLINE); compressed inodes are rejected. The layout follows the Linux kernel's fs/erofs/erofs_fs.h, as also implemented in the MIT-licensed github.com/emmanuel-deloget/fsforge reader.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FS ¶
type FS struct {
// contains filtered or unexported fields
}
FS is a read-only, lazy EROFS filesystem. Paths use the io/fs convention: "." is the root and nested paths are slash-relative without a leading slash.