path_depth

Function path_depth 

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

Get the depth of a path (number of components)