MCPcopy Create free account
hub / github.com/RustOtomeLab/RustEng / save_user_config

Function save_user_config

src/config/user.rs:98–103  ·  view source on GitHub ↗
(weak: Weak<MainWindow>)

Source from the content-addressed store, hash-verified

96 if resolved != config.text.font() {
97 config.text.set_font(resolved);
98 let _ = write_config(&path, &config);
99 }
100
101 config
102 }
103 Err(_) => {
104 let config = UserConfig::default();
105 let _ = write_config(&path, &config);
106 config

Callers 1

execute_save_configMethod · 0.85

Calls 1

write_configFunction · 0.85

Tested by

no test coverage detected