Function simics_build_utils::subdir

source ยท
pub fn subdir<P>(dir: P) -> Result<PathBuf>
where P: AsRef<Path>,
Expand description

Get the only subdirectory of a directory, if only one exists. If zero or more than one subdirectories exist, returns an error