diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-05-13 10:47:26 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-05-13 17:04:17 -0700 |
| commit | c82692f75591b320fbe5f4d2018505bd902f95e6 (patch) | |
| tree | f7ae31c71ef388e4edc5469b85aa0b0dd1cba4bb /commit-reach.c | |
| parent | f1e3c12196b6c91086b58495499db0f4802fa5d1 (diff) | |
reftable/reader: set up the reader when initializing table iterator
All the seeking functions accept a `struct reftable_reader` as input
such that they can use the reader to look up the respective blocks.
Refactor the code to instead set up the reader as a member of `struct
table_iter` during initialization such that we don't have to pass the
reader on every single call.
This step is required to move seeking of records into the generic
`struct reftable_iterator` infrastructure.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-reach.c')
0 files changed, 0 insertions, 0 deletions
