Skip to main content

clean_name

Function clean_name 

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

A file’s name as a manifest carries it: the base name of name, with control characters replaced, trimmed, and at most MAX_NAME_CHARS characters. "file" when nothing is left.