Skip to main content

load_project_settings

Function load_project_settings 

Source
pub fn load_project_settings(cwd: &Path) -> Vec<Settings>
Expand description

Load the single active project settings document. .rpi/settings.json takes precedence; native Pi’s .pi/settings.json is consulted only when the rpi-owned file does not exist. A malformed preferred file masks the fallback and yields no project settings, keeping project configuration fail-closed instead of executing entries from a stale lower-priority file.