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

Method phase

crates/openshell-core/src/metadata.rs:73–75  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

71
72impl Sandbox {
73 pub fn phase(&self) -> i32 {
74 self.status.as_ref().map_or(0, |s| s.phase)
75 }
76
77 pub fn set_phase(&mut self, phase: i32) {
78 self.status.get_or_insert_with(SandboxStatus::default).phase = phase;

Callers 15

proxy_to_endpointFunction · 0.45
handle_watch_sandboxFunction · 0.45
handle_exec_sandboxFunction · 0.45
handle_forward_tcpFunction · 0.45
spawn_create_sandboxFunction · 0.45
refresh_sandboxesFunction · 0.45
sandbox_createFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected