From: Justin Tobler Date: Tue, 21 May 2024 23:35:13 GMT Subject: Re: [PATCH v3 05/11] reftable/dump: support dumping a table's block structure Message-ID: In-Reply-To: On 24/05/13 10:18AM, Patrick Steinhardt wrote: > +int reftable_reader_print_blocks(const char *tablename) > +{ > + struct { > + const char *name; > + int type; > + } sections[] = { > + { > + .name = "ref", > + .type = BLOCK_TYPE_REF, > + }, > + { > + .name = "obj", > + .type = BLOCK_TYPE_OBJ, > + }, > + { > + .name = "log", > + .type = BLOCK_TYPE_LOG, > + }, > + }; I noticed that we are not including all the block types. Would we ever want to also be able to dump index blocks? Or would they not be useful in this context? -Justin