MCPcopy Create free account
hub / github.com/git/git / writer_flush_block

Function writer_flush_block

reftable/writer.c:875–882  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

873}
874
875static 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
884const struct reftable_stats *reftable_writer_stats(struct reftable_writer *w)
885{

Callers 3

writer_add_recordFunction · 0.85
writer_finish_sectionFunction · 0.85
write_object_recordFunction · 0.85

Calls 1

Tested by

no test coverage detected