aboutsummaryrefslogtreecommitdiff
path: root/reftable/reftable-stack.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-08-22 08:35:12 +0200
committerJunio C Hamano <gitster@pobox.com>2024-08-22 07:59:47 -0700
commitca74ef6ffb7388d862379d5016282340aff1f68b (patch)
treec8e30a1d4ccd9a18e3ad687c0af737c94c11356a /reftable/reftable-stack.h
parent22f519a9a058fc0cf05e4bdd7a20adee13668150 (diff)
downloadgit-ca74ef6ffb7388d862379d5016282340aff1f68b.tar.xz
t/helper: inline `reftable_stack_print_directory()`
Move `reftable_stack_print_directory()` into the "dump-reftable" helper. This follows the same reasoning as the preceding commit. Note that this requires us to remove the tests for this functionality in `reftable/stack_test.c`. The test does not really add much anyway, because all it verifies is that we do not crash or run into an error, and it specifically doesn't check the outputted data. Also, as the code is now part of the test helper, it doesn't make much sense to have a unit test for it in the first place. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'reftable/reftable-stack.h')
-rw-r--r--reftable/reftable-stack.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/reftable/reftable-stack.h b/reftable/reftable-stack.h
index 09e97c9991..f4f8cabc7f 100644
--- a/reftable/reftable-stack.h
+++ b/reftable/reftable-stack.h
@@ -140,7 +140,4 @@ struct reftable_compaction_stats {
struct reftable_compaction_stats *
reftable_stack_compaction_stats(struct reftable_stack *st);
-/* print the entire stack represented by the directory */
-int reftable_stack_print_directory(const char *stackdir, uint32_t hash_id);
-
#endif