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

Function attr_check_clear

attr.c:615–625  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

613}
614
615void attr_check_clear(struct attr_check *check)
616{
617 FREE_AND_NULL(check->items);
618 check->alloc = 0;
619 check->nr = 0;
620
621 FREE_AND_NULL(check->all_attrs);
622 check->all_attrs_nr = 0;
623
624 drop_attr_stack(&check->stack);
625}
626
627void attr_check_free(struct attr_check *check)
628{

Callers 1

attr_check_freeFunction · 0.85

Calls 1

drop_attr_stackFunction · 0.85

Tested by

no test coverage detected