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

Function table_iter_next_in_block

reftable/table.c:149–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149static 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
160static void table_iter_block_done(struct table_iter *ti)
161{

Callers 1

table_iter_nextFunction · 0.85

Calls 2

block_iter_nextFunction · 0.85
reftable_record_typeFunction · 0.85

Tested by

no test coverage detected