MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / parse_optional_u32

Function parse_optional_u32

src/automation_cli.rs:816–821  ·  view source on GitHub ↗
(
    value: Option<String>,
    field: &str,
)

Source from the content-addressed store, hash-verified

814}
815
816fn parse_optional_u32(
817 value: Option<String>,
818 field: &str,
819) -> tracedecay::errors::Result<Option<Option<u32>>> {
820 parse_optional_number(value, field, str::parse::<u32>)
821}
822
823fn parse_optional_f32(
824 value: Option<String>,

Callers 1

Calls 1

parse_optional_numberFunction · 0.85

Tested by

no test coverage detected