Skip to main content

load_env_walk

Function load_env_walk 

Source
pub fn load_env_walk(start: &Path) -> Option<PathBuf>
Expand description

Walk upward from start looking for .env. Returns the path loaded, or None if nothing was found before reaching the root. Silent on parse errors per-line — a single bad line should not stop the rest of the file from loading.