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

Function git_parse_int

parse.c:92–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92int git_parse_int(const char *value, int *ret)
93{
94 intmax_t tmp;
95 if (!git_parse_signed(value, &tmp, maximum_signed_value_of_type(int)))
96 return 0;
97 *ret = tmp;
98 return 1;
99}
100
101int git_parse_int64(const char *value, int64_t *ret)
102{

Callers 7

git_config_intFunction · 0.85
bundle_list_updateFunction · 0.85
diff_opt_max_depthFunction · 0.85
hook_config_lookup_allFunction · 0.85
git_parse_maybe_boolFunction · 0.85

Calls 1

git_parse_signedFunction · 0.85

Tested by

no test coverage detected