| 873 | } |
| 874 | |
| 875 | static int writer_flush_block(struct reftable_writer *w) |
| 876 | { |
| 877 | if (!w->block_writer) |
| 878 | return 0; |
| 879 | if (w->block_writer->entries == 0) |
| 880 | return 0; |
| 881 | return writer_flush_nonempty_block(w); |
| 882 | } |
| 883 | |
| 884 | const struct reftable_stats *reftable_writer_stats(struct reftable_writer *w) |
| 885 | { |
no test coverage detected