limnifs-write 0.2.59

LimniFS writer pipeline — directory tree to .lim image
Documentation

LimniFS writer pipeline — directory tree to .lim image.

The writer takes a real directory tree and produces a valid .lim manifest artifact with inlined metadata. Files at or below the inline threshold (4 KiB) are stored as inline data in their inodes; larger files are stored as drops packed into a single slab.

Usage

use std::path::Path;
use limnifs_write::write_directory;
# fn main() -> Result<(), Box<dyn std::error::Error>> {
let artifact = write_directory(Path::new("/path/to/dir"))?;
std::fs::write("output.lim", &artifact.bytes)?;
# Ok(())
# }