Skip to main content

normalize_prefix

Function normalize_prefix 

Source
pub fn normalize_prefix(prefix: Option<&str>) -> Option<String>
Expand description

Trim whitespace and separators copied from a console URL so /tier/, tier, and tier/ address the same root. Empty prefixes mean no prefix.