Skip to main content

expand_env_ref

Function expand_env_ref 

Source
pub fn expand_env_ref(value: &str, env: &HashMap<String, String>) -> String
Expand description

Expand ${VAR} references in value against env. Unknown variables expand to the empty string (POSIX-shell semantics).