autopulse_utils/
join_path.rs

1pub fn join_path(root: &str, relative: &str) -> String {
2    let root = root.strip_suffix('/').unwrap_or(root);
3    let relative = relative.strip_prefix('/').unwrap_or(relative);
4
5    format!("{root}/{relative}")
6}