path_depth

Function path_depth 

Source
pub fn path_depth(path: &Path) -> usize
Expand description

Returns the “depth” of a path (number of components)