MCPcopy Create free account
hub / github.com/dfinity/orbit / format_unique_string

Function format_unique_string

core/station/impl/src/core/utils.rs:115–117  ·  view source on GitHub ↗
(text: &str)

Source from the content-addressed store, hash-verified

113}
114
115pub(crate) fn format_unique_string(text: &str) -> String {
116 deunicode::deunicode(text).to_lowercase().replace(' ', "")
117}
118
119/// The minimum principal value that can be used.
120pub const MIN_PRINCIPAL: Principal = Principal::from_slice(&[0; 29]);

Callers 8

find_by_nameMethod · 0.85
find_by_nameMethod · 0.85
find_by_nameMethod · 0.85
find_by_nameMethod · 0.85
find_by_nameMethod · 0.85
find_names_by_prefixMethod · 0.85
to_unique_index_keyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected