pub fn common_prefix(lhs: &Path, rhs: &Path) -> Option<(Path, Path)>
Expand description

Traverses both paths until they differ, returning the common prefix of both.