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

Method instance_info

vmm/src/app/qemu.rs:1132–1136  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1130
1131impl VmWorkDir {
1132 pub fn instance_info(&self) -> Result<InstanceInfo> {
1133 let info_file = self.instance_info_path();
1134 let info: InstanceInfo = serde_json::from_slice(&fs::read(&info_file)?)?;
1135 Ok(info)
1136 }
1137
1138 pub fn app_compose(&self) -> Result<AppCompose> {
1139 let compose_file = self.app_compose_path();

Callers 2

merged_infoMethod · 0.80
configure_machineMethod · 0.80

Calls 1

instance_info_pathMethod · 0.80

Tested by

no test coverage detected