Skip to main content

normalize_path

Function normalize_path 

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

パスのドットセグメント(.・..)と連続スラッシュを畳む。先頭は必ず /。 末尾が /・.・.. なら、結果の末尾も / にする。