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

Function apply_layer_dir_to_rootfs

crates/openshell-driver-vm/src/driver.rs:3848–3850  ·  view source on GitHub ↗
(layer_root: &Path, rootfs: &Path)

Source from the content-addressed store, hash-verified

3846}
3847
3848fn apply_layer_dir_to_rootfs(layer_root: &Path, rootfs: &Path) -> Result<(), String> {
3849 merge_layer_directory(layer_root, rootfs)
3850}
3851
3852fn merge_layer_directory(source_dir: &Path, target_dir: &Path) -> Result<(), String> {
3853 fs::create_dir_all(target_dir)

Calls 1

merge_layer_directoryFunction · 0.85