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

Function git_protected_config

config.c:2461–2466  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2459}
2460
2461void git_protected_config(config_fn_t fn, void *data)
2462{
2463 if (!protected_config.hash_initialized)
2464 read_protected_config();
2465 configset_iter(&protected_config, fn, data);
2466}
2467
2468int repo_config_get_expiry(struct repository *r, const char *key, char **output)
2469{

Callers 4

ensure_valid_ownershipFunction · 0.85
get_allowed_bare_repoFunction · 0.85
get_template_dirFunction · 0.85
get_upload_pack_configFunction · 0.85

Calls 2

read_protected_configFunction · 0.85
configset_iterFunction · 0.85

Tested by

no test coverage detected