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

Function git_config_double

config.c:1271–1278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1269}
1270
1271double git_config_double(const char *name, const char *value,
1272 const struct key_value_info *kvi)
1273{
1274 double ret;
1275 if (!git_parse_double(value, &ret))
1276 die_bad_number(name, value, kvi);
1277 return ret;
1278}
1279
1280int git_config_bool_or_int(const char *name, const char *value,
1281 const struct key_value_info *kvi, int *is_bool)

Callers 1

pseudo_merge_configFunction · 0.85

Calls 2

git_parse_doubleFunction · 0.85
die_bad_numberFunction · 0.85

Tested by

no test coverage detected