]> git.ipfire.org Git - thirdparty/git.git/blame - reftable/merged.h
Merge branch 'jk/rebase-apply-leakfix'
[thirdparty/git.git] / reftable / merged.h
CommitLineData
1ae2b8cd
HWN
1/*
2Copyright 2020 Google LLC
3
4Use of this source code is governed by a BSD-style
5license that can be found in the LICENSE file or at
6https://developers.google.com/open-source/licenses/bsd
7*/
8
9#ifndef MERGED_H
10#define MERGED_H
11
48929d2e 12#include "system.h"
1ae2b8cd
HWN
13
14struct reftable_merged_table {
15 struct reftable_table *stack;
16 size_t stack_len;
17 uint32_t hash_id;
18
19 /* If unset, produce deletions. This is useful for compaction. For the
20 * full stack, deletions should be produced. */
21 int suppress_deletions;
22
23 uint64_t min;
24 uint64_t max;
25};
26
1ae2b8cd
HWN
27void merged_table_release(struct reftable_merged_table *mt);
28
29#endif