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

Function oci_layout_blobs_dir

crates/openshell-driver-vm/src/driver.rs:4293–4295  ·  view source on GitHub ↗
(layout_dir: &Path)

Source from the content-addressed store, hash-verified

4291}
4292
4293fn oci_layout_blobs_dir(layout_dir: &Path) -> PathBuf {
4294 layout_dir.join("blobs").join("sha256")
4295}
4296
4297fn oci_layout_blob_path(layout_dir: &Path, digest: &str) -> Result<PathBuf, String> {
4298 let hex = sha256_digest_hex(digest)?;

Calls

no outgoing calls

Tested by

no test coverage detected