Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/git/git
/ strmap_clear
Function
strmap_clear
strmap.c:68–72 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
66
}
67
68
void strmap_clear(struct strmap *map, int free_values)
69
{
70
strmap_free_entries_(map, free_values);
71
hashmap_clear(&map->map);
72
}
73
74
void strmap_partial_clear(struct strmap *map, int free_values)
75
{
Callers
15
clear_or_reinit_internal_opts
Function · 0.85
free_collisions
Function · 0.85
upload_pack_data_clear
Function · 0.85
cleanup_dir_rename_info
Function · 0.85
packfile_store_free
Function · 0.85
setup_additional_headers
Function · 0.85
cleanup_additional_headers
Function · 0.85
repo_clear
Function · 0.85
free_rerere_dirs
Function · 0.85
strintmap_clear
Function · 0.85
strset_clear
Function · 0.85
hook_cache_clear
Function · 0.85
Calls
1
strmap_free_entries_
Function · 0.85
Tested by
1
free_delay_entries
Function · 0.68