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

Class LengthWrapper

src/config/cg.rs:32–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30
31impl CgConfig {
32 pub(crate) fn find_by_name(&self, name: &str) -> Option<&(usize, u64)> {
33 self.cg_by_name.get(name)
34 }
35
36 pub(crate) fn find_by_id(&self, index: u64) -> Option<&(String, u64)> {
37 self.cg_by_id.get(&(index as usize))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected