reftable/block: rename block_reader_start()

The function `block_reader_start()` does not really apply to the block
reader, but to the block iterator. It's name is thus somewhat confusing.
Rename it to `block_iter_seek_start()` to clarify.

We will rename `block_reader_seek()` in similar spirit in the next
commit.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Patrick Steinhardt
2024-04-08 14:16:26 +02:00
committed by Junio C Hamano
parent 8f7582d995
commit 3122d44025
5 changed files with 6 additions and 6 deletions

View File

@ -69,7 +69,7 @@ static void test_block_read_write(void)
block_reader_init(&br, &block, header_off, block_size, GIT_SHA1_RAWSZ);
block_reader_start(&br, &it);
block_iter_seek_start(&it, &br);
while (1) {
int r = block_iter_next(&it, &rec);