Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_current
Method · 0.80
close_if_stale
Function · 0.80
evaluate_l7_request_once
Function · 0.80
Calls
1
current_generation
Method · 0.80
Tested by
no test coverage detected