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

Function volume_name

crates/openshell-driver-podman/src/container.rs:151–153  ·  view source on GitHub ↗
(sandbox_id: &str)

Source from the content-addressed store, hash-verified

149/// Build the workspace volume name from the sandbox ID.
150#[must_use]
151pub fn volume_name(sandbox_id: &str) -> String {
152 format!("{VOLUME_PREFIX}{sandbox_id}-workspace")
153}
154
155/// Truncate a container ID to 12 characters (standard short form).
156#[must_use]

Calls

no outgoing calls

Tested by

no test coverage detected