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

Function git_configset_init

config.c:1793–1800  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1791}
1792
1793void git_configset_init(struct config_set *set)
1794{
1795 hashmap_init(&set->config_hash, config_set_element_cmp, NULL, 0);
1796 set->hash_initialized = 1;
1797 set->list.nr = 0;
1798 set->list.alloc = 0;
1799 set->list.items = NULL;
1800}
1801
1802void git_configset_clear(struct config_set *set)
1803{

Callers 8

repo_read_configFunction · 0.85
read_protected_configFunction · 0.85
is_main_worktree_bareFunction · 0.85
init_worktree_configFunction · 0.85
libgit_configset_allocFunction · 0.85
cmd__configFunction · 0.85
maintenance_unregisterFunction · 0.85

Calls 1

hashmap_initFunction · 0.85

Tested by 1

cmd__configFunction · 0.68