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

Function oidset_insert

oidset.c:35–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35int oidset_insert(struct oidset *set, const struct object_id *oid)
36{
37 int added;
38 kh_put_oid_set(&set->set, *oid, &added);
39 return !added;
40}
41
42void oidset_insert_from_set(struct oidset *dest, struct oidset *src)
43{

Callers 15

add_oids_to_setFunction · 0.85
add_refs_to_oidsetFunction · 0.85
parse_gitmodules_oidsFunction · 0.85
do_fetch_pack_v2Function · 0.85
negotiate_using_fetchFunction · 0.85
process_deepen_notFunction · 0.85
oidset_insert_from_setFunction · 0.85
add_ref_to_setFunction · 0.85
mark_bad_packed_objectFunction · 0.85
add_promisor_objectFunction · 0.85

Calls

no outgoing calls

Tested by 1