MCPcopy Create free account
hub / github.com/AI45Lab/Code / opt_string

Method opt_string

core/tests/test_persisted_schema_roundtrip.rs:125–131  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

123 }
124 }
125 fn opt_string(&mut self) -> Option<String> {
126 if self.boolean() {
127 Some(self.string())
128 } else {
129 None
130 }
131 }
132 fn opt_u64(&mut self) -> Option<u64> {
133 if self.boolean() {
134 Some(self.u64_small())

Callers 7

gen_messageFunction · 0.80
gen_verification_checkFunction · 0.80
gen_subagent_taskFunction · 0.80
gen_agent_eventFunction · 0.80
gen_run_recordFunction · 0.80
gen_session_dataFunction · 0.80
gen_agent_step_specFunction · 0.80

Calls 2

booleanMethod · 0.80
stringMethod · 0.80

Tested by

no test coverage detected