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

Function is_alias_token_char

crates/openshell-core/src/secrets.rs:22–24  ·  view source on GitHub ↗
(b: u8)

Source from the content-addressed store, hash-verified

20}
21
22fn is_alias_token_char(b: u8) -> bool {
23 b.is_ascii_alphanumeric() || matches!(b, b'_' | b'-' | b'.' | b'~')
24}
25
26fn contains_raw_reserved_marker(value: &str) -> bool {
27 value.contains(PLACEHOLDER_PREFIX) || value.contains(PROVIDER_ALIAS_MARKER)

Callers 3

alias_start_for_markerFunction · 0.85
alias_token_atFunction · 0.85
token_boundary_okFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected