]> git.ipfire.org Git - thirdparty/git.git/commit
reftable: read reftable files
authorHan-Wen Nienhuys <hanwen@google.com>
Thu, 7 Oct 2021 20:25:08 +0000 (20:25 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 8 Oct 2021 17:45:48 +0000 (10:45 -0700)
commit46bc0e731a70716485bc3c8bdaf7e6e6f88073a9
treeb0e25b887c4be2b4f8291ee3bd206fefd879666b
parent17df8dbeba18c8c36f14c58815a03091ba61f895
reftable: read reftable files

This supports reading a single reftable file.

The commit introduces an abstract iterator type, which captures the usecases
both of reading individual refs, and iterating over a segment of the ref
namespace.

Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
reftable/iter.c [new file with mode: 0644]
reftable/iter.h [new file with mode: 0644]
reftable/reader.c [new file with mode: 0644]
reftable/reader.h [new file with mode: 0644]
reftable/reftable-reader.h [new file with mode: 0644]