MCPcopy Create free account
hub / github.com/Recordscript/recordscript / get_general_config

Function get_general_config

src-tauri/src/main.rs:178–180  ·  view source on GitHub ↗
(general_config: State<'_, GeneralConfig>)

Source from the content-addressed store, hash-verified

176
177#[tauri::command]
178fn get_general_config(general_config: State<'_, GeneralConfig>) -> configuration::GeneralConfig {
179 general_config.lock().unwrap().clone()
180}
181
182#[tauri::command]
183fn set_general_config(general_config_state: State<'_, GeneralConfig>, general_config: configuration::GeneralConfig) {

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected