Skip to content

Function files::safe_name

zaun_client::files::safe_name · Function

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.

Full rustdoc page