pub fn join_path(base: &str, segment: &str) -> String
Joins two path segments with a proper separator. Makes sure there’s exactly one ‘/’ between segments.