Skip to main content

resolve_project_file

Function resolve_project_file 

Source
fn resolve_project_file(dir: &Path) -> Result<Option<PathBuf>, Error>
Expand description

Looks for a configuration file in the given directory and its parents.

Returns the path of the configuration file nearest to that directory if one exists, or None if none was found.