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

Function git_configset_get

config.c:1892–1902  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1890}
1891
1892int git_configset_get(struct config_set *set, const char *key)
1893{
1894 struct config_set_element *e;
1895 int ret;
1896
1897 if ((ret = configset_find_element(set, key, &e)))
1898 return ret;
1899 else if (!e)
1900 return 1;
1901 return 0;
1902}
1903
1904int git_configset_get_string(struct config_set *set, const char *key, char **dest)
1905{

Callers 2

repo_config_getFunction · 0.85

Calls 1

configset_find_elementFunction · 0.85

Tested by

no test coverage detected