pub fn mkfs_erofs<ObjectID: FsVerityHashValue>(
fs: &FileSystem<ObjectID>,
) -> Box<[u8]>Expand description
Creates an EROFS filesystem image from a composefs tree
This function performs a two-pass generation:
- First pass determines the layout and sizes of all structures
- Second pass writes the actual image data
Returns the complete EROFS image as a byte array.