Function simics_macro::interface::subdir
source ยท pub fn subdir<P>(dir: P) -> Option<PathBuf>
Expand description
Get the only subdirectory of a directory, if only one exists. If zero or more than one subdirectories exist, returns an error