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

Method execute_save_config

src/executors/executor.rs:269–274  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

267 )
268 })
269 .collect::<Vec<_>>();
270 let path = format!("{}{}.toml", ENGINE_CONFIG.save_path(), page_num);
271 fs::write(
272 &path,
273 toml::to_string_pretty(&SaveDataWrapper::new(save_data))
274 .map_err(SaveError::from)?,
275 )
276 .map_err(|e| SaveError::Write {
277 path: path.clone(),

Callers 1

uiFunction · 0.80

Calls 2

save_user_configFunction · 0.85
get_weakMethod · 0.80

Tested by

no test coverage detected