pub fn validate_is_directory(path: &Path, field_name: &str) -> Result<(), Error>
Validate path is a directory