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

Function load_extra_config

src/config/extra.rs:25–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23 let extra_config = load_extra_config();
24 self.set_cg(extra_config.cg());
25 }
26}
27
28fn load_extra_config() -> ExtraConfig {
29 if let Ok(content) = fs::read_to_string(format!("{}/extra.toml", ENGINE_CONFIG.save_path())) {
30 toml::from_str(&content).unwrap()
31 } else {

Callers 1

load_extraMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected