Function validate_path

Source
pub fn validate_path(path: &str, allow_absolute: bool) -> Result<()>