| 1 | #include "git-compat-util.h" |
| 2 | #include "clar/clar.h" |
| 3 | #include "clar-decls.h" |
| 4 | #include "git-compat-util.h" |
| 5 | #include "reftable/reftable-writer.h" |
| 6 | #include "strbuf.h" |
| 7 | |
| 8 | struct reftable_buf; |
| 9 | |
| 10 | void cl_reftable_set_hash(uint8_t *p, int i, enum reftable_hash id); |
| 11 | |
| 12 | struct reftable_writer *cl_reftable_strbuf_writer(struct reftable_buf *buf, |
| 13 | struct reftable_write_options *opts); |
| 14 | |
| 15 | void cl_reftable_write_to_buf(struct reftable_buf *buf, |
| 16 | struct reftable_ref_record *refs, |
| 17 | size_t nrecords, |
| 18 | struct reftable_log_record *logs, |
| 19 | size_t nlogs, |
| 20 | struct reftable_write_options *opts); |