summaryrefslogtreecommitdiff
path: root/src/libgit2/diff_stats.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgit2/diff_stats.h')
-rw-r--r--src/libgit2/diff_stats.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/libgit2/diff_stats.h b/src/libgit2/diff_stats.h
new file mode 100644
index 000000000..c71862b4e
--- /dev/null
+++ b/src/libgit2/diff_stats.h
@@ -0,0 +1,18 @@
+/*
+ * Copyright (C) the libgit2 contributors. All rights reserved.
+ *
+ * This file is part of libgit2, distributed under the GNU GPL v2 with
+ * a Linking Exception. For full terms see the included COPYING file.
+ */
+#ifndef INCLUDE_diff_stats_h__
+#define INCLUDE_diff_stats_h__
+
+#include "common.h"
+
+int git_diff__stats_to_buf(
+ git_str *out,
+ const git_diff_stats *stats,
+ git_diff_stats_format_t format,
+ size_t width);
+
+#endif