Crate cdragon_rman

source ·
Expand description

Support of RMAN files, Riot manifest files

Use Rman to open an RMAN file and access its content.

An RMAN file is made of a header and multiple tables (bundles, file names, …). When an instance is created, only the headers are read. Tables are then iterated on using the iter_*() methods.

Example: list files


let rman = Rman::open("example.manifest").expect("failed to open or read headers");
// Directories are listed separately from files and their basenames
let dir_paths = rman.dir_paths();
// Iterate on files, print the full paths
for file in rman.iter_files() {
    println!("{}", file.path(&dir_paths));
}

Structs

Enums

Type Aliases