[−][src]Function origen::commands::proj::validate_path
fn validate_path(path: &Path, is_present: bool, is_dir: bool)
Will exit and print an error message if the given path reference is invalid. Caller must specify whether they want the path to exist or not and whether they expect it to be a file or a dir (if applicable).