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

Function packlist_find

pack-objects.c:71–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71struct object_entry *packlist_find(struct packing_data *pdata,
72 const struct object_id *oid)
73{
74 uint32_t i;
75 int found;
76
77 if (!pdata->index_size)
78 return NULL;
79
80 i = locate_object_entry_hash(pdata, oid, &found);
81
82 if (!found)
83 return NULL;
84
85 return &pdata->objects[pdata->index[i] - 1];
86}
87
88static void prepare_in_pack_by_idx(struct packing_data *pdata)
89{

Callers 11

create_bitmap_mappingFunction · 0.85
find_object_posFunction · 0.85
mark_taggedFunction · 0.85
have_duplicate_entryFunction · 0.85
can_reuse_deltaFunction · 0.85
obj_is_packedFunction · 0.85
show_object_pack_hintFunction · 0.85
add_cruft_object_entryFunction · 0.85
show_objectFunction · 0.85

Calls 1

locate_object_entry_hashFunction · 0.85

Tested by

no test coverage detected