Function simics_macro::interface::subdir

source ยท
pub fn subdir<P>(dir: P) -> Option<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