Skip to main content

normalize_dir_path

Function normalize_dir_path 

Source
pub fn normalize_dir_path(input: &str) -> String
Expand description

Normalizes directory separators to / and removes trailing separators unless the input is a root.