Skip to main content

resolve

Function resolve 

Source
pub fn resolve(root: &Path, cwd: &Path) -> Result<LoadedConfig, ConfigError>
Expand description

Compose a LoadedConfig from the given working directory.

root is the launch root; cwd may be the same as root or a subdirectory. We walk up from cwd for discovery so that subprojects can layer extra rules on top of the launch root’s config.