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

Function uses_reserved_revision_namespace

crates/openshell-core/src/secrets.rs:498–500  ·  view source on GitHub ↗
(key: &str)

Source from the content-addressed store, hash-verified

496}
497
498pub fn uses_reserved_revision_namespace(key: &str) -> bool {
499 split_revisioned_env_key(key).is_some()
500}
501
502fn split_revisioned_env_key(key: &str) -> Option<(&str, &str)> {
503 let suffix = key.strip_prefix('v')?;

Calls 1

split_revisioned_env_keyFunction · 0.85

Tested by

no test coverage detected