pub fn image_fs_from_rafs(
rafs: Rafs,
upper: &Path,
work: &Path,
) -> Result<FuseFileSystemMount<OverlayFs>>Expand description
Build an ImageFs from an already-loaded RAFS lower and explicit
upper/work directories.
The lowest-level constructor: callers that hold a [Rafs] (e.g. tests, or a
future caller that loaded RAFS itself) compose it here. Wraps the RAFS as the
single read-only overlay lower and upper as the writable layer via FS-C’s
rootfs_overlay.