| 137 | }; |
| 138 | |
| 139 | static 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 | |
| 149 | static int table_iter_next_in_block(struct table_iter *ti, |
| 150 | struct reftable_record *rec) |
no test coverage detected