summaryrefslogtreecommitdiff
path: root/merge-blobs.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2025-04-07 15:16:21 +0200
committerJunio C Hamano <gitster@pobox.com>2025-04-07 14:53:11 -0700
commit655e18d6b4f845090b0ba4761105b32726893ecb (patch)
treecef72db67ee133caed758f3b40f13ba451c38933 /merge-blobs.c
parentce76cec964ed1c8ad6c9fcee9fd833c0ec8cccf9 (diff)
reftable/block: create public interface for reading blocks
While users of the reftable library wouldn't generally require access to individual blocks in a reftable table, there are valid usecases where one may require low-level access to them. One such upcoming usecase in the Git codebase is to implement consistency checks for the reftable library where we want to verify each block individually. Create a public interface for reading blocks. The interface isn't yet complete and lacks e.g. a way to read individual records from a block. Such missing functionality will be backfilled in subsequent commits. Note that this change also requires us to expose `reftable_buf`, which is used by the `reftable_block_first_key()` function. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'merge-blobs.c')
0 files changed, 0 insertions, 0 deletions