Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Dstack-TEE/dstack
/ is_cvm
Method
is_cvm
vmm/src/config.rs:370–375 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
368
369
impl ProcessAnnotation {
370
pub fn is_cvm(&self) -> bool {
371
if self.live_for.is_some() {
372
return false;
373
}
374
self.kind.is_empty() || self.kind ==
"cvm"
375
}
376
}
377
378
impl Config {
Callers
2
reload_vms
Method · 0.80
reload_vms_sync
Method · 0.80
Calls
1
is_empty
Method · 0.45
Tested by
no test coverage detected