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

Method current_policy_version

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

Source from the content-addressed store, hash-verified

79 }
80
81 pub fn current_policy_version(&self) -> u32 {
82 self.status.as_ref().map_or(0, |s| s.current_policy_version)
83 }
84
85 pub fn set_current_policy_version(&mut self, version: u32) {
86 self.status

Calls

no outgoing calls

Tested by

no test coverage detected