aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'cgit/ui-blob.h')
-rw-r--r--cgit/ui-blob.h12+12 −0
1 files changed, 12 insertions, 0 deletions
diff --git a/cgit/ui-blob.h b/cgit/ui-blob.h
new file mode 100644
--- /dev/null
+++ b/cgit/ui-blob.h
@@ -0,0 +1,12 @@
+/* SPDX-FileCopyrightText: cgit Development Team <cgit@lists.zx2c4.com>
+ * SPDX-License-Identifier: GPL-2.0-only
+ */
+
+#ifndef UI_BLOB_H
+#define UI_BLOB_H
+
+extern int cgit_ref_path_exists(const char *path, const char *ref, int file_only);
+extern int cgit_print_file(char *path, const char *head, int file_only);
+extern void cgit_print_blob(const char *hex, char *path, const char *head, int file_only);
+
+#endif /* UI_BLOB_H */