Skip to main content

apply_connection_values

Function apply_connection_values 

Source
pub fn apply_connection_values(
    connections: &mut Map<String, Value>,
    connection: &str,
    values: &Map<String, Value>,
)
Expand description

Apply values to connection’s entry in the raw connections object of settings.json: a null removes a key, an entry left empty is removed. Works on the raw JSON, so keys AgentMux doesn’t know survive untouched.