pub fn search_dir_allowed(dir: &str, path: &str) -> bool
Whether a search directory a document names dir (\graphicspath, \input@path), at path, may be searched: when not, one Warning per directory and the caller drops it.
dir
\graphicspath
\input@path
path