Skip to main content

load_project_settings

Function load_project_settings 

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

Load project-local settings in precedence order: .rpi/settings.json, then legacy .pi/settings.json. Both files may contribute additional resource paths; the preferred .rpi file is returned first so its paths register before legacy Pi paths. Malformed or unreadable optional project settings are ignored, matching the best-effort behavior of resource-dir discovery; global settings remain available through load_settings.