Skip to main content

clean_relative

Function clean_relative 

Source
pub fn clean_relative(raw: &str) -> String
Expand description

A repository-relative path as a caller typed it: forward slashes, no leading ./ or /, no trailing slash. . is the whole repository ("").