Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/t/unit-tests/lib-reftable.h # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers 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 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 enum reftable_hash hash_id, 14 struct reftable_write_options *opts); 15 16 void 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);