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

Function image_cache_dir

crates/openshell-driver-vm/src/driver.rs:4277–4279  ·  view source on GitHub ↗
(root: &Path, image_identity: &str)

Source from the content-addressed store, hash-verified

4275}
4276
4277fn image_cache_dir(root: &Path, image_identity: &str) -> PathBuf {
4278 image_cache_root_dir(root).join(sanitize_image_identity(image_identity))
4279}
4280
4281fn image_cache_rootfs_image(root: &Path, image_identity: &str) -> PathBuf {
4282 image_cache_dir(root, image_identity).join(IMAGE_CACHE_ROOTFS_IMAGE)

Calls 2

image_cache_root_dirFunction · 0.85
sanitize_image_identityFunction · 0.85

Tested by

no test coverage detected