MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / overlay_template_image

Function overlay_template_image

crates/openshell-driver-vm/src/driver.rs:4194–4199  ·  view source on GitHub ↗
(root: &Path, size_bytes: u64)

Source from the content-addressed store, hash-verified

4192}
4193
4194fn overlay_template_image(root: &Path, size_bytes: u64) -> PathBuf {
4195 image_cache_root_dir(root)
4196 .join(OVERLAY_TEMPLATE_CACHE_DIR)
4197 .join(OVERLAY_TEMPLATE_CACHE_LAYOUT_VERSION)
4198 .join(format!("{size_bytes}.ext4"))
4199}
4200
4201#[derive(Debug, Clone, PartialEq, Eq)]
4202struct SandboxRuntimeDiskPaths {

Calls 1

image_cache_root_dirFunction · 0.85