gix_path::env

Function var

source
pub fn var(name: &str) -> Option<OsString>
Expand description

Returns the contents of an environment variable of name with some special handling for certain environment variables (like HOME) for platform compatibility.