Skip to main content

check_connection_entry

Function check_connection_entry 

Source
pub fn check_connection_entry(
    connections: &Map<String, Value>,
    connection: &str,
) -> Result<(), String>
Expand description

Refuse an edit that would leave connection’s entry unreadable (a string where display:pinned wants a boolean, say): the write would land on disk while the live config silently kept the old values.