MCPcopy Index your code
hub / github.com/git/git / get_int_value

Function get_int_value

parse-options.c:92–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92static intmax_t get_int_value(const struct option *opt, enum opt_parsed flags)
93{
94 intmax_t ret;
95 if (do_get_int_value(opt->value, opt->precision, &ret))
96 BUG("invalid precision for option %s", optname(opt, flags));
97 return ret;
98}
99
100static enum parse_opt_result set_int_value(const struct option *opt,
101 enum opt_parsed flags,

Callers 1

do_get_valueFunction · 0.85

Calls 2

do_get_int_valueFunction · 0.85
optnameFunction · 0.85

Tested by

no test coverage detected