| 147 | } |
| 148 | |
| 149 | static int table_iter_next_in_block(struct table_iter *ti, |
| 150 | struct reftable_record *rec) |
| 151 | { |
| 152 | int res = block_iter_next(&ti->bi, rec); |
| 153 | if (res == 0 && reftable_record_type(rec) == REFTABLE_BLOCK_TYPE_REF) { |
| 154 | rec->u.ref.update_index += ti->table->min_update_index; |
| 155 | } |
| 156 | |
| 157 | return res; |
| 158 | } |
| 159 | |
| 160 | static void table_iter_block_done(struct table_iter *ti) |
| 161 | { |
no test coverage detected