git/t/unit-tests/lib-reftable.c

#include "lib-reftable.h"
#include "test-lib.h"
#include "reftable/constants.h"
#include "reftable/writer.h"

void t_reftable_set_hash(uint8_t *p, int i, uint32_t id)
{}

static ssize_t strbuf_writer_write(void *b, const void *data, size_t sz)
{}

static int strbuf_writer_flush(void *arg UNUSED)
{}

struct reftable_writer *t_reftable_strbuf_writer(struct reftable_buf *buf,
						 struct reftable_write_options *opts)
{}

void t_reftable_write_to_buf(struct reftable_buf *buf,
			     struct reftable_ref_record *refs,
			     size_t nrefs,
			     struct reftable_log_record *logs,
			     size_t nlogs,
			     struct reftable_write_options *_opts)
{}