Function join_path

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

Joins two path segments with a proper separator. Makes sure there’s exactly one ‘/’ between segments.