Skip to main content

safe_name

Function safe_name 

Source
pub fn safe_name(name: &str) -> String
Expand description

A name for name that is safe as one path component: no separators, no control characters, no leading dots; attachment when nothing is left.