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

Function table_iter_init

reftable/table.c:139–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137};
138
139static int table_iter_init(struct table_iter *ti, struct reftable_table *t)
140{
141 struct block_iter bi = BLOCK_ITER_INIT;
142 memset(ti, 0, sizeof(*ti));
143 reftable_table_incref(t);
144 ti->table = t;
145 ti->bi = bi;
146 return 0;
147}
148
149static int table_iter_next_in_block(struct table_iter *ti,
150 struct reftable_record *rec)

Callers 3

table_init_iterFunction · 0.85

Calls 1

reftable_table_increfFunction · 0.85

Tested by

no test coverage detected