Skip to main content

load_settings

Function load_settings 

Source
pub fn load_settings(project_dir: &Path, host: Host) -> RawConfig
Expand description

Load the settings layer for project_dir. A missing or unreadable file is not an error — it simply contributes nothing, and the environment or CLI flags supply the values instead.

This is the lowest config layer, and the file it reads is chosen by host: a session never sees the other host’s settings.