diff options
author | Edward Thomson <ethomson@microsoft.com> | 2013-05-21 11:05:21 -0500 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-06-17 10:03:14 -0700 |
commit | 1ee2ef87ec4c2c63b7c89849eb9daad9e46e6fe7 (patch) | |
tree | d10293ba11d1ed7cb54df329b75d293bf8c3e9aa /src/status.h | |
parent | 09c2f91c150a4862c9189d9e08d0dc111d4d706c (diff) | |
download | libgit2-1ee2ef87ec4c2c63b7c89849eb9daad9e46e6fe7.tar.gz |
status access by index, providing more details to callers
Diffstat (limited to 'src/status.h')
-rw-r--r-- | src/status.h | 23 |
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 |