path_depth

Function path_depth 

Source
pub fn path_depth<P: AsRef<Path>>(path: P) -> usize
Expand description

Get the depth of a path (number of components)