interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

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

22 lines · 682 bytes Raw Blame History
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
8struct reftable_buf;
9
10void cl_reftable_set_hash(uint8_t *p, int i, enum reftable_hash id);
11
12struct reftable_writer *cl_reftable_strbuf_writer(struct reftable_buf *buf,
13 enum reftable_hash hash_id,
14 struct reftable_write_options *opts);
15
16void cl_reftable_write_to_buf(struct reftable_buf *buf,
17 struct reftable_ref_record *refs,
18 size_t nrecords,
19 struct reftable_log_record *logs,
20 size_t nlogs,
21 enum reftable_hash hash_id,
22 struct reftable_write_options *opts);