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

Method snapshot

crates/openshell-core/src/provider_credentials.rs:66–72  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

64 }
65
66 pub fn snapshot(&self) -> Arc<ProviderCredentialSnapshot> {
67 self.inner
68 .read()
69 .expect("provider credential state poisoned")
70 .current
71 .clone()
72 }
73
74 pub fn resolver(&self) -> Option<Arc<SecretResolver>> {
75 self.inner

Callers 4

start_with_bind_addrMethod · 0.80
run_sandboxFunction · 0.80
run_policy_poll_loopFunction · 0.80

Calls 1

readMethod · 0.45