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

Function git_configset_get_string_tmp

config.c:1913–1925  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1911}
1912
1913static int git_configset_get_string_tmp(struct config_set *set, const char *key,
1914 const char **dest)
1915{
1916 const char *value;
1917 if (!git_configset_get_value(set, key, &value, NULL)) {
1918 if (!value)
1919 return config_error_nonbool(key);
1920 *dest = value;
1921 return 0;
1922 } else {
1923 return 1;
1924 }
1925}
1926
1927int git_configset_get_int(struct config_set *set, const char *key, int *dest)
1928{

Callers 1

Calls 2

git_configset_get_valueFunction · 0.85
config_error_nonboolFunction · 0.85

Tested by

no test coverage detected