[−][src]Function feroxbuster::utils::get_current_depth
pub fn get_current_depth(target: &str) -> usize
Helper function that determines the current depth of a given url
Essentially looks at the Url path and determines how many directories are present in the given Url
http://localhost -> 1 http://localhost/ -> 1 http://localhost/stuff -> 2 ...
returns 0 on error and relative urls