Skip to main content

normalize_path

Function normalize_path 

Source
fn normalize_path(path: &str) -> Option<String>
Expand description

path in the stored form of page paths: no query or fragment, a leading / and no trailing one. None when nothing is left, so an empty path reads the outline, not the front page.