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

Function make_empty_transient_cache_entry

read-cache.c:823–829  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

821}
822
823struct cache_entry *make_empty_transient_cache_entry(size_t len,
824 struct mem_pool *ce_mem_pool)
825{
826 if (ce_mem_pool)
827 return mem_pool__ce_calloc(ce_mem_pool, len);
828 return xcalloc(1, cache_entry_size(len));
829}
830
831enum verify_path_result {
832 PATH_OK,

Callers 3

create_ce_entryFunction · 0.85
packet_to_pc_itemFunction · 0.85

Calls 2

mem_pool__ce_callocFunction · 0.85
xcallocFunction · 0.85

Tested by

no test coverage detected