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

Class FigureConfig

src/config/figure.rs:51–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 let content = fs::read_to_string(format!(
50 "{}{}/{}.toml",
51 ENGINE_CONFIG.figure_path(),
52 char,
53 char
54 ))
55 .unwrap();
56 let item: FigureRead = toml::from_str(&content).unwrap();
57 face_list.insert(char.to_string(), item.face);
58 body_list.insert(char.to_string(), item.body);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected