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

Function git_configset_get_int

config.c:1927–1937  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1925}
1926
1927int git_configset_get_int(struct config_set *set, const char *key, int *dest)
1928{
1929 const char *value;
1930 struct key_value_info kvi;
1931
1932 if (!git_configset_get_value(set, key, &value, &kvi)) {
1933 *dest = git_config_int(key, value, &kvi);
1934 return 0;
1935 } else
1936 return 1;
1937}
1938
1939int git_configset_get_uint(struct config_set *set, const char *key, unsigned int *dest)
1940{

Callers 2

repo_config_get_intFunction · 0.85
libgit_configset_get_intFunction · 0.85

Calls 2

git_configset_get_valueFunction · 0.85
git_config_intFunction · 0.85

Tested by

no test coverage detected