Crate ext4_view

source ·
Expand description

This crate provides read-only access to ext4 filesystems.

§Example

Load an ext4 filesystem from an in-memory buffer and then read a file from the filesystem:

use ext4_view::{Ext4, Path};

fn in_memory_example(fs_data: Vec<u8>) -> Vec<u8> {
    let ext4 = Ext4::load(Box::new(fs_data)).unwrap();
    ext4.read("/some/file/path").unwrap()
}

Structs§

Enums§

Traits§