MCPcopy Create free account
hub / github.com/git/git / git_configset_get_ulong

Function git_configset_get_ulong

config.c:1951–1961  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1949}
1950
1951int git_configset_get_ulong(struct config_set *set, const char *key, unsigned long *dest)
1952{
1953 const char *value;
1954 struct key_value_info kvi;
1955
1956 if (!git_configset_get_value(set, key, &value, &kvi)) {
1957 *dest = git_config_ulong(key, value, &kvi);
1958 return 0;
1959 } else
1960 return 1;
1961}
1962
1963int git_configset_get_bool(struct config_set *set, const char *key, int *dest)
1964{

Callers 1

repo_config_get_ulongFunction · 0.85

Calls 2

git_configset_get_valueFunction · 0.85
git_config_ulongFunction · 0.85

Tested by

no test coverage detected