pub fn paths_overlap(path1: &str, path2: &str) -> bool
Checks if two paths conflict (one is a parent/child of the other or they are the same)