MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / is_empty

Method is_empty

vmm/src/app.rs:108–113  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

106
107impl GpuConfig {
108 pub fn is_empty(&self) -> bool {
109 if self.attach_mode.is_all() {
110 return false;
111 }
112 self.gpus.is_empty() && self.bridges.is_empty()
113 }
114}
115
116#[derive(Clone, Debug, Serialize, Deserialize)]

Callers 15

decode_app_info_exMethod · 0.45
decode_vm_configMethod · 0.45
verify_tdxMethod · 0.45
deserializeFunction · 0.45
read_allMethod · 0.45
update_certsFunction · 0.45
run_onboard_serviceFunction · 0.45
remove_cacheMethod · 0.45
get_infoMethod · 0.45

Calls 1

is_allMethod · 0.80

Tested by 6

decode_app_info_exMethod · 0.36
decode_vm_configMethod · 0.36
verify_tdxMethod · 0.36