Skip to main content

read_workspace_env_values

Function read_workspace_env_values 

Source
pub fn read_workspace_env_values(
    workspace: &Path,
    env_keys: &[&str],
) -> Result<HashMap<String, String>>
Expand description

Read multiple env keys from workspace .env in a single pass.

Returns a map of key -> value for all found keys. Missing keys are omitted from the map.