Crate composefs

Crate composefs 

Source
Expand description

Rust bindings and utilities for working with composefs images and repositories.

Composefs is a read-only FUSE filesystem that enables efficient sharing of container filesystem layers by using content-addressable storage and fs-verity for integrity verification.

Modules§

dumpfile
Reading and writing composefs dumpfile format.
dumpfile_parse
Parsing and generating composefs dump file entry
erofs
EROFS (Enhanced Read-Only File System) format support for composefs.
filesystem_ops
High-level filesystem operations for composefs trees.
fs
Reading and writing filesystem trees to/from disk.
fsverity
Linux fs-verity support for integrity verification.
generic_tree
A generic metadata-only filesystem tree where regular files can be stored however the caller wants.
mount
Modern Linux mount API support for composefs.
mountcompat
Compatibility helpers for older Linux kernel mount APIs.
repository
Content-addressable repository for composefs objects.
splitstream
Split Stream file format implementation.
tree
A filesystem tree which stores regular files using the composefs strategy of inlining small files, and having an external fsverity reference for larger ones.
util
Utility functions and types used throughout the composefs crate.

Constants§

INLINE_CONTENT_MAX
All files that contain 64 or fewer bytes (size <= INLINE_CONTENT_MAX) should be stored inline in the erofs image (and also in splitstreams). All files with 65 or more bytes (size > MAX) should be written to the object storage and referred to from the image (and splitstreams).