Function foundry_compilers::utils::find_fave_or_alt_path

source ยท
pub fn find_fave_or_alt_path(root: &Path, fave: &str, alt: &str) -> PathBuf
Expand description

Returns the right subpath in a dir

Returns <root>/<fave> if it exists or <root>/<alt> does not exist, Returns <root>/<alt> if it exists and <root>/<fave> does not exist.