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

Function is_sandbox_id_byte

crates/openshell-core/src/forward.rs:827–829  ·  view source on GitHub ↗
(b: u8)

Source from the content-addressed store, hash-verified

825const MAX_FINGERPRINT_LEN: usize = 256;
826
827fn is_sandbox_id_byte(b: u8) -> bool {
828 b.is_ascii_alphanumeric() || matches!(b, b'.' | b'-' | b'_')
829}
830
831fn is_token_byte(b: u8) -> bool {
832 // URL-safe base64 + common token charset. No shell metacharacters, no

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected