Expand description
Library for cfsctl command line utility
This crate also re-exports all composefs-rs library crates, so downstream
consumers can take a single dependency on cfsctl instead of listing each
crate individually.
use cfsctl::composefs::repository::Repository;
use cfsctl::composefs::fsverity::Sha256HashValue;
let repo = Repository::<Sha256HashValue>::open_path(
rustix::fs::CWD,
"/nonexistent",
);
assert!(repo.is_err());Re-exportsยง
pub use composefs;pub use composefs_boot;pub use composefs_oci;
Structsยง
- App
- cfsctl
- FsRead
Options ๐ - Common options for reading a filesystem from a path
- OCIConfig
Filesystem ๐Options - Common options for operations using OCI config manifest streams that may transform the image rootfs
- OCIConfig
Options ๐ - Common options for operations using OCI config manifest streams
Enumsยง
- Command ๐
- Hash
Type - TODO: Hash type
- OciCommand ๐
Functionsยง
- open_
repo - Open a repo
- run_
cmd_ with_ repo - Run with cmd
- run_
from_ iter - Acts as a proxy for the
cfsctlCLI by executing the CLI logic programmatically - verity_
opt ๐