pub fn safe_name(name: &str) -> String
A name for name that is safe as one path component: no separators, no control characters, no leading dots; attachment when nothing is left.
name
attachment