Skip to main content

join_path

Function join_path 

Source
pub fn join_path(base: &str, rel: &str) -> String
Expand description

Join project-relative POSIX path segments, stripping a leading "./" from rel (the editor’s "./data" style). An empty base returns the normalized rel.