composefs/lib.rs
1//! Rust bindings and utilities for working with composefs images and repositories.
2//!
3//! Composefs is a read-only FUSE filesystem that enables efficient sharing
4//! of container filesystem layers by using content-addressable storage
5//! and fs-verity for integrity verification.
6
7pub mod dumpfile;
8pub mod dumpfile_parse;
9pub mod erofs;
10pub mod filesystem_ops;
11pub mod fs;
12pub mod fsverity;
13pub mod mount;
14pub mod mountcompat;
15pub mod repository;
16pub mod splitstream;
17pub mod tree;
18pub mod util;
19
20pub mod generic_tree;
21#[cfg(any(test, feature = "test"))]
22pub mod test;
23
24/// All files that contain 64 or fewer bytes (size <= INLINE_CONTENT_MAX) should be stored inline
25/// in the erofs image (and also in splitstreams). All files with 65 or more bytes (size > MAX)
26/// should be written to the object storage and referred to from the image (and splitstreams).
27pub const INLINE_CONTENT_MAX: usize = 64;