git/reftable
Patrick Steinhardt 2b06b28fd6 t/helper: inline `reftable_dump_main()`
The printing functionality part of `reftable/dump.c` is really only used
by our "dump-reftable" test helper. It is certainly not generic logic
that is useful to anybody outside of Git, and the format it generates is
quite specific. Still, parts of it are used in our test suite and the
output may be useful to take a peek into reftable stacks, tables and
blocks. So while it does not make sense to expose this as part of the
reftable library, it does make sense to keep it around.

Inline the `reftable_dump_main()` function into the "dump-reftable" test
helper. This clarifies that its format is subject to change and not part
of our public interface. Furthermore, this allows us to iterate on the
implementation in subsequent patches.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-08-22 07:59:47 -07:00
..
LICENSE
basics.c global: improve const correctness when assigning string constants 2024-06-07 10:30:48 -07:00
basics.h global: improve const correctness when assigning string constants 2024-06-07 10:30:48 -07:00
block.c reftable/block: use `size_t` to track restart point index 2024-05-13 17:04:16 -07:00
block.h reftable: use `uint16_t` to track restart interval 2024-05-13 17:02:38 -07:00
block_test.c reftable: cast away constness when assigning constants to records 2024-06-07 10:30:49 -07:00
blocksource.c reftable: introduce macros to allocate arrays 2024-02-06 12:10:08 -08:00
blocksource.h
constants.h reftable: make the compaction factor configurable 2024-05-13 17:02:39 -07:00
error.c Merge branch 'ps/reftable-write-optim' 2024-05-08 10:18:43 -07:00
generic.c reftable/generic: move generic iterator code into iterator interface 2024-08-22 07:59:46 -07:00
generic.h reftable/generic: move generic iterator code into iterator interface 2024-08-22 07:59:46 -07:00
iter.c reftable/generic: move generic iterator code into iterator interface 2024-08-22 07:59:46 -07:00
iter.h reftable/generic: move generic iterator code into iterator interface 2024-08-22 07:59:46 -07:00
merged.c reftable/merged: stop using generic tables in the merged table 2024-08-22 07:59:46 -07:00
merged.h reftable/merged: stop using generic tables in the merged table 2024-08-22 07:59:46 -07:00
pq.c reftable: allow inlining of a few functions 2024-03-04 10:19:49 -08:00
pq.h reftable: allow inlining of a few functions 2024-03-04 10:19:49 -08:00
pq_test.c reftable/merged: make subiters own their records 2024-03-04 10:19:39 -08:00
publicbasics.c reftable: introduce macros to allocate arrays 2024-02-06 12:10:08 -08:00
reader.c reftable/iter: drop double-checking logic 2024-08-22 07:59:46 -07:00
reader.h reftable/merged: stop using generic tables in the merged table 2024-08-22 07:59:46 -07:00
readwrite_test.c Merge branch 'ps/no-writable-strings' 2024-06-17 15:55:58 -07:00
record.c global: improve const correctness when assigning string constants 2024-06-07 10:30:48 -07:00
record.h reftable/record: extract function to decode key lengths 2024-04-03 09:16:50 -07:00
reftable-blocksource.h
reftable-error.h Merge branch 'ps/reftable-write-optim' 2024-05-08 10:18:43 -07:00
reftable-generic.h reftable/generic: adapt interface to allow reuse of iterators 2024-05-13 17:04:18 -07:00
reftable-iterator.h reftable/generic: adapt interface to allow reuse of iterators 2024-05-13 17:04:18 -07:00
reftable-malloc.h
reftable-merged.h reftable/merged: stop using generic tables in the merged table 2024-08-22 07:59:46 -07:00
reftable-reader.h Merge branch 'ps/reftable-reusable-iterator' 2024-05-30 14:15:12 -07:00
reftable-record.h hash-ll: merge with "hash.h" 2024-06-14 10:26:33 -07:00
reftable-stack.h Merge branch 'ps/reftable-reusable-iterator' 2024-05-30 14:15:12 -07:00
reftable-tests.h t/helper: inline `reftable_dump_main()` 2024-08-22 07:59:47 -07:00
reftable-writer.h reftable: make the compaction factor configurable 2024-05-13 17:02:39 -07:00
stack.c reftable/stack: open-code reading refs 2024-08-22 07:59:46 -07:00
stack.h reftable: make the compaction factor configurable 2024-05-13 17:02:39 -07:00
stack_test.c reftable/merged: stop using generic tables in the merged table 2024-08-22 07:59:46 -07:00
system.h hash-ll: merge with "hash.h" 2024-06-14 10:26:33 -07:00
test_framework.c reftable: honor core.fsync 2024-01-23 13:45:27 -08:00
test_framework.h reftable: honor core.fsync 2024-01-23 13:45:27 -08:00
tree.c reftable: introduce macros to allocate arrays 2024-02-06 12:10:08 -08:00
tree.h
tree_test.c treewide: remove unnecessary includes in source files 2023-12-26 12:04:31 -08:00
writer.c reftable/writer: improve error when passed an invalid block size 2024-05-13 17:02:38 -07:00
writer.h reftable: honor core.fsync 2024-01-23 13:45:27 -08:00