Skip to main content

sanitize_path_component

Function sanitize_path_component 

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

Replace any filesystem-unsafe characters with _ and truncate to 200 chars.