Skip to main content

starts_with_dir

Function starts_with_dir 

Source
pub fn starts_with_dir(input: &str, dir: &str) -> bool
Expand description

Returns true when the input starts with the given directory on segment boundaries.