Function
get_general_config
(general_config: State<'_, GeneralConfig>)
Source from the content-addressed store, hash-verified
| 176 | |
| 177 | #[tauri::command] |
| 178 | fn get_general_config(general_config: State<'_, GeneralConfig>) -> configuration::GeneralConfig { |
| 179 | general_config.lock().unwrap().clone() |
| 180 | } |
| 181 | |
| 182 | #[tauri::command] |
| 183 | fn set_general_config(general_config_state: State<'_, GeneralConfig>, general_config: configuration::GeneralConfig) { |
Callers
nothing calls this directly
Tested by
no test coverage detected