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

Function compute_bytes_sha256_hex

crates/openshell-driver-vm/src/driver.rs:3789–3793  ·  view source on GitHub ↗
(bytes: &[u8])

Source from the content-addressed store, hash-verified

3787}
3788
3789fn compute_bytes_sha256_hex(bytes: &[u8]) -> String {
3790 let mut hasher = Sha256::new();
3791 hasher.update(bytes);
3792 format!("{:x}", hasher.finalize())
3793}
3794
3795fn extract_layer_blob_to_dir(
3796 blob_path: &Path,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected