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

Function requested_sandbox_image

crates/openshell-driver-vm/src/driver.rs:3991–3998  ·  view source on GitHub ↗
(sandbox: &Sandbox)

Source from the content-addressed store, hash-verified

3989}
3990
3991fn requested_sandbox_image(sandbox: &Sandbox) -> Option<&str> {
3992 sandbox
3993 .spec
3994 .as_ref()
3995 .and_then(|spec| spec.template.as_ref())
3996 .map(|template| template.image.trim())
3997 .filter(|image| !image.is_empty())
3998}
3999
4000fn merged_environment(sandbox: &Sandbox) -> HashMap<String, String> {
4001 let mut environment = sandbox

Callers 1

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected