Skip to main content

pattern_depth

Function pattern_depth 

Source
pub fn pattern_depth(pattern: &str) -> usize
Expand description

Calculate the depth of a Files pattern by counting ‘/’ characters.