Skip to main content

read_env_file

Function read_env_file 

Source
fn read_env_file(project: &str, raw_path: &str) -> HashMap<String, String>
Expand description

Parse KEY=value lines, skipping blanks and # comments. Every way this can go wrong warns and yields the keys it did read - a project’s env file is not worth refusing to boot over, and a partial read is visible in the per-spawn applied record’s key list.