MCPcopy Create free account
hub / github.com/git/git / check_vector_add

Function check_vector_add

attr.c:490–500  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488}
489
490static void check_vector_add(struct attr_check *c)
491{
492 vector_lock();
493
494 ALLOC_GROW(check_vector.checks,
495 check_vector.nr + 1,
496 check_vector.alloc);
497 check_vector.checks[check_vector.nr++] = c;
498
499 vector_unlock();
500}
501
502static void check_vector_remove(struct attr_check *check)
503{

Callers 1

attr_check_allocFunction · 0.85

Calls 2

vector_lockFunction · 0.85
vector_unlockFunction · 0.85

Tested by

no test coverage detected