pub fn get_single_glob_match(pattern: &str) -> Result<PathBuf, Box<dyn Error>>
Expand description

Convenience function for cases where we expect a glob to produce exactly one match.

Returns Ok() if so, and Err() on multiple matches, no matches, or other errors.