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

Function sandbox_image

crates/openshell-driver-docker/src/lib.rs:1559–1566  ·  view source on GitHub ↗
(sandbox: &DriverSandbox)

Source from the content-addressed store, hash-verified

1557}
1558
1559fn sandbox_image(sandbox: &DriverSandbox) -> Option<String> {
1560 sandbox
1561 .spec
1562 .as_ref()
1563 .and_then(|spec| spec.template.as_ref())
1564 .map(|template| template.image.clone())
1565 .filter(|image| !image.trim().is_empty())
1566}
1567
1568fn pending_sandbox_snapshot(
1569 sandbox: &DriverSandbox,

Callers 1

create_sandbox_innerMethod · 0.85

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected