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

Function setting_for_key

crates/openshell-core/src/settings.rs:144–146  ·  view source on GitHub ↗
(key: &str)

Source from the content-addressed store, hash-verified

142/// Resolve a setting descriptor from the registry by key.
143#[must_use]
144pub fn setting_for_key(key: &str) -> Option<&'static RegisteredSetting> {
145 REGISTERED_SETTINGS.iter().find(|entry| entry.key == key)
146}
147
148/// Return comma-separated registered keys for CLI/API diagnostics.
149#[must_use]

Calls

no outgoing calls