Skip to main content

depth

Function depth 

Source
pub fn depth(path: &str) -> usize
Expand description

The depth (segment count) of a path. A top-level context is depth 1.