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

Method resolved_sandbox_image

crates/openshell-driver-vm/src/driver.rs:1780–1787  ·  view source on GitHub ↗
(&self, sandbox: &Sandbox)

Source from the content-addressed store, hash-verified

1778 }
1779
1780 fn resolved_sandbox_image(&self, sandbox: &Sandbox) -> Option<String> {
1781 requested_sandbox_image(sandbox)
1782 .map(ToOwned::to_owned)
1783 .or_else(|| {
1784 let image = self.config.default_image.trim();
1785 (!image.is_empty()).then(|| image.to_string())
1786 })
1787 }
1788
1789 async fn ensure_cached_bootstrap_rootfs_image(
1790 &self,

Callers 3

validate_sandboxMethod · 0.80
create_sandboxMethod · 0.80

Calls 2

requested_sandbox_imageFunction · 0.85
is_emptyMethod · 0.45

Tested by

no test coverage detected