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

Method is_stale

crates/openshell-supervisor-network/src/opa.rs:92–94  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

90 }
91
92 pub fn is_stale(&self) -> bool {
93 self.current_generation() != self.captured_generation
94 }
95
96 pub fn ensure_current(&self) -> Result<()> {
97 if self.is_stale() {

Callers 3

ensure_currentMethod · 0.80
close_if_staleFunction · 0.80
evaluate_l7_request_onceFunction · 0.80

Calls 1

current_generationMethod · 0.80

Tested by

no test coverage detected