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

Method set_phase

crates/openshell-core/src/metadata.rs:77–79  ·  view source on GitHub ↗
(&mut self, phase: i32)

Source from the content-addressed store, hash-verified

75 }
76
77 pub fn set_phase(&mut self, phase: i32) {
78 self.status.get_or_insert_with(SandboxStatus::default).phase = phase;
79 }
80
81 pub fn current_policy_version(&self) -> u32 {
82 self.status.as_ref().map_or(0, |s| s.current_policy_version)

Calls

no outgoing calls

Tested by 6

test_sandboxFunction · 0.64
test_sandboxFunction · 0.64
create_sandboxMethod · 0.64
get_sandboxMethod · 0.64
watch_sandboxMethod · 0.64