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

Method bootstrap_image_ref

crates/openshell-driver-vm/src/driver.rs:1719–1729  ·  view source on GitHub ↗
(&self, sandbox_image_ref: &str)

Source from the content-addressed store, hash-verified

1717 }
1718
1719 fn bootstrap_image_ref(&self, sandbox_image_ref: &str) -> String {
1720 let configured = self.config.bootstrap_image.trim();
1721 if !configured.is_empty() {
1722 return configured.to_string();
1723 }
1724 let default = self.config.default_image.trim();
1725 if !default.is_empty() {
1726 return default.to_string();
1727 }
1728 sandbox_image_ref.to_string()
1729 }
1730
1731 async fn prepare_runtime_overlay(
1732 &self,

Callers 1

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected