Skip to main content

serialize

Function serialize 

Source
pub fn serialize(root_entries: &[SerializerNode]) -> Vec<u8> 
Expand description

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.