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

Class CgLength

src/config/cg.rs:37–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35
36 pub(crate) fn find_by_id(&self, index: u64) -> Option<&(String, u64)> {
37 self.cg_by_id.get(&(index as usize))
38 }
39
40 pub(crate) fn length(&self) -> usize {
41 self.length
42 }
43}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected