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