Skip to main content

normalise

Function normalise 

Source
pub fn normalise(rel: &str) -> Result<String, Refused>
Expand description

a/./b/ → a/b; refuses absolute paths, .., NUL and the empty path.