Function validate_dir

Source
pub(crate) fn validate_dir(dir: &Path) -> Result<(), Box<dyn Error>>
Expand description

Create an error message is a given directory does not exist or we don’t have access to it for whatever reason.