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

Function attr_state_queue_push

attr.c:1073–1080  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1071};
1072
1073static void attr_state_queue_push(struct attr_state_queue *t,
1074 const struct match_attr *a)
1075{
1076 for (size_t i = 0; i < a->num_attr; i++) {
1077 ALLOC_GROW(t->items, t->nr + 1, t->alloc);
1078 t->items[t->nr++] = &a->state[i];
1079 }
1080}
1081
1082static const struct attr_state *attr_state_queue_pop(struct attr_state_queue *t)
1083{

Callers 1

fill_oneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected