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