MCPcopy Create free account
hub / github.com/clockwork-xyz/clockwork / _parse_i64

Function _parse_i64

cli/src/parser.rs:332–337  ·  view source on GitHub ↗
(arg: &str, matches: &ArgMatches)

Source from the content-addressed store, hash-verified

330}
331
332pub fn _parse_i64(arg: &str, matches: &ArgMatches) -> Result<i64, CliError> {
333 Ok(parse_string(arg, matches)?
334 .parse::<i64>()
335 .map_err(|_err| CliError::BadParameter(arg.into()))
336 .unwrap())
337}
338
339pub fn parse_u64(arg: &str, matches: &ArgMatches) -> Result<u64, CliError> {
340 Ok(parse_string(arg, matches)?

Callers

nothing calls this directly

Calls 1

parse_stringFunction · 0.85

Tested by

no test coverage detected