Skip to main content

join_paths

Function join_paths 

Source
pub fn join_paths(base: &str, path: &str) -> String
Expand description

Joins a base path with a child path.

If path is absolute, it is returned (normalized) directly. Otherwise the two paths are concatenated and normalized.