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

Class Length

src/config/cg.rs:25–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23
24#[derive(Debug, Deserialize, Serialize)]
25pub(crate) struct CgConfig {
26 cg_by_name: HashMap<String, (usize, u64)>,
27 cg_by_id: HashMap<usize, (String, u64)>,
28 length: usize,
29}
30
31impl CgConfig {
32 pub(crate) fn find_by_name(&self, name: &str) -> Option<&(usize, u64)> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected