pub fn dir_exists(path: &Path) -> Result<(), LintError>
Check that a required directory exists.
This is a wrapper around Path::is_dir() that returns the correct LintError.
Path::is_dir()
LintError