Skip to main content

Crate erofs_serializer

Crate erofs_serializer 

Source
Expand description

An extremely simple erofs serializer. Doesn’t do any efficient allocation, everything is compact inodes with FlatPlain data layouts. This is intended to allow creating on-the-fly erofs images for conformance testing the vfs implementation as opposed to making robust erofs images.

Enums§

SerializerNode
A node in the tree to be serialized.

Functions§

serialize
Serialize a directory tree into a very simple erofs image. Intended for testing at the moment. As such, it may panic in various edge-cases and is not especially efficient at laying out the metadata.