Function path_depth

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

Returns the “depth” of a path, i.e. the number of components.