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

Function make_empty_cache_entry

read-cache.c:818–821  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

816}
817
818struct cache_entry *make_empty_cache_entry(struct index_state *istate, size_t len)
819{
820 return mem_pool__ce_calloc(find_mem_pool(istate), len);
821}
822
823struct cache_entry *make_empty_transient_cache_entry(size_t len,
824 struct mem_pool *ce_mem_pool)

Callers 15

initialize_attr_indexFunction · 0.85
create_ce_entryFunction · 0.85
fake_working_tree_commitFunction · 0.85
add_index_fileFunction · 0.85
rename_index_entry_atFunction · 0.85
create_alias_ceFunction · 0.85
add_to_indexFunction · 0.85
make_cache_entryFunction · 0.85
refresh_cache_entFunction · 0.85
repo_read_index_unmergedFunction · 0.85
dup_cache_entryFunction · 0.85

Calls 2

mem_pool__ce_callocFunction · 0.85
find_mem_poolFunction · 0.85

Tested by

no test coverage detected