summaryrefslogtreecommitdiffstats
path: root/reftable/block.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-04-08 14:16:26 +0200
committerJunio C Hamano <gitster@pobox.com>2024-04-15 19:36:09 +0200
commit3122d44025e29571aecda02fe3699f240246f3b2 (patch)
tree8374470321115d8b6c81c44086bcab6b10cc829b /reftable/block.h
parentThe eighteenth batch (diff)
downloadgit-3122d44025e29571aecda02fe3699f240246f3b2.tar.xz
git-3122d44025e29571aecda02fe3699f240246f3b2.zip
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>
Diffstat (limited to 'reftable/block.h')
-rw-r--r--reftable/block.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/reftable/block.h b/reftable/block.h
index 47acc62c0a..44a9a8de7d 100644
--- a/reftable/block.h
+++ b/reftable/block.h
@@ -98,7 +98,7 @@ int block_reader_init(struct block_reader *br, struct reftable_block *bl,
int hash_size);
/* Position `it` at start of the block */
-void block_reader_start(struct block_reader *br, struct block_iter *it);
+void block_iter_seek_start(struct block_iter *it, struct block_reader *br);
/* Position `it` to the `want` key in the block */
int block_reader_seek(struct block_reader *br, struct block_iter *it,