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

Function sandbox_token_host_path

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

Source from the content-addressed store, hash-verified

84}
85
86fn sandbox_token_host_path(sandbox_id: &str) -> Result<PathBuf, ComputeDriverError> {
87 openshell_core::driver_utils::sandbox_token_path("podman-sandbox-tokens", None, sandbox_id)
88 .map_err(|err| ComputeDriverError::Message(format!("resolve state dir failed: {err}")))
89}
90
91async fn write_sandbox_token_file(
92 sandbox: &DriverSandbox,

Callers 2

write_sandbox_token_fileFunction · 0.70

Calls 1

sandbox_token_pathFunction · 0.85

Tested by

no test coverage detected