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

Function is_provider_rule_name

crates/openshell-policy/src/compose.rs:17–19  ·  view source on GitHub ↗
(rule_name: &str)

Source from the content-addressed store, hash-verified

15
16#[must_use]
17pub fn is_provider_rule_name(rule_name: &str) -> bool {
18 rule_name.starts_with(PROVIDER_RULE_NAME_PREFIX)
19}
20
21#[must_use]
22pub fn provider_rule_name(provider_name: &str) -> String {

Callers 7

policy_for_viewFunction · 0.85
add_ruleFunction · 0.85
find_endpoint_mutFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected