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

Method key

crates/openshell-policy/src/lib.rs:212–217  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

210
211 #[must_use]
212 pub const fn key(self) -> &'static str {
213 match self {
214 Self::JsonRpc => "json_rpc",
215 Self::Mcp => "mcp",
216 }
217 }
218}
219
220/// Parse an L7 nested config stanza and return the flattened runtime fields

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected