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

Function attr_check_append

attr.c:599–608  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

597}
598
599struct attr_check_item *attr_check_append(struct attr_check *check,
600 const struct git_attr *attr)
601{
602 struct attr_check_item *item;
603
604 ALLOC_GROW(check->items, check->nr + 1, check->alloc);
605 item = &check->items[check->nr++];
606 item->attr = attr;
607 return item;
608}
609
610void attr_check_reset(struct attr_check *check)
611{

Callers 3

git_all_attrsFunction · 0.85
cmd_check_attrFunction · 0.85

Calls

no outgoing calls

Tested by 1