Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2013-05-21 20:05:21 +0400
committerRussell Belfer <rb@github.com>2013-06-17 21:03:14 +0400
commit1ee2ef87ec4c2c63b7c89849eb9daad9e46e6fe7 (patch)
treed10293ba11d1ed7cb54df329b75d293bf8c3e9aa /src/status.h
parent09c2f91c150a4862c9189d9e08d0dc111d4d706c (diff)
status access by index, providing more details to callers
Diffstat (limited to 'src/status.h')
-rw-r--r--src/status.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/status.h b/src/status.h
new file mode 100644
index 000000000..b58e0ebd6
--- /dev/null
+++ b/src/status.h
@@ -0,0 +1,23 @@
+/*
+ * 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_status_h__
+#define INCLUDE_status_h__
+
+#include "diff.h"
+#include "git2/status.h"
+#include "git2/diff.h"
+
+struct git_status_list {
+ git_status_options opts;
+
+ git_diff_list *head2idx;
+ git_diff_list *idx2wd;
+
+ git_vector paired;
+};
+
+#endif