MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / new

Method new

atomic-repository/src/repository/observability.rs:121–123  ·  view source on GitHub ↗

Accepts only exactly 26 Crockford-base32 characters (`0-9`, `A-Z` minus `I L O U`). Anything else — including prose, sentinels or tokens without spaces — is refused.

(raw: &str)

Source from the content-addressed store, hash-verified

119 /// (`0-9`, `A-Z` minus `I L O U`). Anything else — including prose,
120 /// sentinels or tokens without spaces — is refused.
121 pub fn new(raw: &str) -> Option<Self> {
122 valid_fixed_id(raw, 26, &crockford_char).map(Self)
123 }
124
125 /// The validated identifier text.
126 pub fn as_str(&self) -> &str {

Callers

nothing calls this directly

Calls 2

valid_fixed_idFunction · 0.85
containsMethod · 0.45

Tested by

no test coverage detected