Skip to main content

sanitize_file_name

Function sanitize_file_name 

Source
pub fn sanitize_file_name(value: &str, fallback: &str) -> String
Expand description

Returns a bounded safe basename, sanitizing fallback by the same policy.