Skip to main content

path_component_count

Function path_component_count 

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

Counts the number of path segments in a file path.