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

Function object_list_contains

object.c:413–421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411}
412
413int object_list_contains(struct object_list *list, struct object *obj)
414{
415 while (list) {
416 if (list->item == obj)
417 return 1;
418 list = list->next;
419 }
420 return 0;
421}
422
423void object_list_free(struct object_list **list)
424{

Callers 1

one_remote_objectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected