Skip to main content

paths_overlap

Function paths_overlap 

Source
pub fn paths_overlap(path1: &str, path2: &str) -> bool
Expand description

Checks if two paths conflict (one is a parent/child of the other or they are the same)