diff options
Diffstat (limited to 'src/index.h')
-rw-r--r-- | src/index.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/index.h b/src/index.h index 9464afb6c..8515f4fcb 100644 --- a/src/index.h +++ b/src/index.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009-2011 the libgit2 contributors + * Copyright (C) 2009-2012 the libgit2 contributors * * This file is part of libgit2, distributed under the GNU GPL v2 with * a Linking Exception. For full terms see the included COPYING file. @@ -31,4 +31,8 @@ struct git_index { git_vector unmerged; }; +extern void git_index__init_entry_from_stat(struct stat *st, git_index_entry *entry); + +extern unsigned int git_index__prefix_position(git_index *index, const char *path); + #endif |