Function easyenv::get_env_pathbuf_or_default
source · pub fn get_env_pathbuf_or_default<P: AsRef<Path>>(
env_name: &str,
default_value: P
) -> PathBuf
Expand description
Get an environment variable as a PathBuf
, or fall back to the provided default.
Returns the default in the event of a parse error.