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

Method route_cache

crates/openshell-supervisor-network/src/proxy.rs:142–146  ·  view source on GitHub ↗

Get a handle to the user route cache for background refresh.

(
        &self,
    )

Source from the content-addressed store, hash-verified

140
141 /// Get a handle to the user route cache for background refresh.
142 pub fn route_cache(
143 &self,
144 ) -> Arc<tokio::sync::RwLock<Vec<openshell_router::config::ResolvedRoute>>> {
145 self.routes.clone()
146 }
147
148 /// Get a handle to the system route cache for background refresh.
149 pub fn system_route_cache(

Calls

no outgoing calls

Tested by

no test coverage detected