pub fn locate(dir: &Path, repo_root: Option<&Path>) -> Option<PathBuf>
Search for a configuration file in dir and repo_root.
dir
repo_root