pub fn path_str(segs: &[Seg], rel_root: Option<&str>) -> String
A canonical path’s text, relative to rel_root ($.…) when given.
rel_root
$.…