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

Function write_config

src/config/user.rs:105–112  ·  view source on GitHub ↗
(path: &str, config: &UserConfig)

Source from the content-addressed store, hash-verified

103 Err(_) => {
104 let config = UserConfig::default();
105 let _ = write_config(&path, &config);
106 config
107 }
108 },
109 Err(_) => {
110 let config = UserConfig::default();
111 let _ = write_config(&path, &config);
112 config
113 }
114 }
115}

Callers 2

load_user_configFunction · 0.85
save_user_configFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected