Function ide_db::imports::merge_imports::common_prefix

source ยท
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.