summaryrefslogtreecommitdiff
path: root/reftable/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'reftable/system.h')
-rw-r--r--reftable/system.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/reftable/system.h b/reftable/system.h
new file mode 100644
index 0000000000..18f9207dfe
--- /dev/null
+++ b/reftable/system.h
@@ -0,0 +1,21 @@
+/*
+Copyright 2020 Google LLC
+
+Use of this source code is governed by a BSD-style
+license that can be found in the LICENSE file or at
+https://developers.google.com/open-source/licenses/bsd
+*/
+
+#ifndef SYSTEM_H
+#define SYSTEM_H
+
+/* This header glues the reftable library to the rest of Git */
+
+#include "git-compat-util.h"
+#include "strbuf.h"
+#include "hash.h" /* hash ID, sizes.*/
+#include "dir.h" /* remove_dir_recursively, for tests.*/
+
+int hash_size(uint32_t id);
+
+#endif