pub fn common_prefix(left: &Utf8Path, right: &Utf8Path) -> Utf8PathBuf
Expand description
Returns the common prefix of two paths. If the paths are identical, returns the path parent.
pub fn common_prefix(left: &Utf8Path, right: &Utf8Path) -> Utf8PathBuf
Returns the common prefix of two paths. If the paths are identical, returns the path parent.