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

Function attr_check_alloc

attr.c:539–547  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

537}
538
539struct attr_check *attr_check_alloc(void)
540{
541 struct attr_check *c = xcalloc(1, sizeof(struct attr_check));
542
543 /* save pointer to the check struct */
544 check_vector_add(c);
545
546 return c;
547}
548
549struct attr_check *attr_check_initl(const char *one, ...)
550{

Callers 4

attr_check_initlFunction · 0.85
attr_check_dupFunction · 0.85
cmd_check_attrFunction · 0.85

Calls 2

xcallocFunction · 0.85
check_vector_addFunction · 0.85

Tested by 1