internal static extern int git_diff_index_to_workdir( out DiffListSafeHandle diff, RepositorySafeHandle repo, IndexSafeHandle index, GitDiffOptions options);
internal static extern int git_index_write_tree(out GitOid treeOid, IndexSafeHandle index);
public static extern int git_index_find( IndexSafeHandle index, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string path);
internal static extern int git_index_has_conflicts(IndexSafeHandle index);
internal static extern int git_index_remove( IndexSafeHandle index, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(FilePathMarshaler))] FilePath path, int stage);
internal static extern UIntPtr git_index_entrycount(IndexSafeHandle index);
internal static extern IndexEntrySafeHandle git_index_get_byindex(IndexSafeHandle index, UIntPtr n);
public static extern int git_tree_create_fromindex(out GitOid treeOid, IndexSafeHandle index);
public static extern int git_index_add(IndexSafeHandle index, string path, int stage = 0);
public static extern int git_index_open_inrepo(out IndexSafeHandle index, RepositorySafeHandle repo);
public static extern int git_repository_index(out IndexSafeHandle index, RepositorySafeHandle repo);
public static extern int git_index_remove(IndexSafeHandle index, int n);
public static extern IntPtr git_index_get(IndexSafeHandle index, uint n);
internal static extern int git_index_add( IndexSafeHandle index, GitIndexEntry entry);
public static extern uint git_index_entrycount(IndexSafeHandle index);
internal static extern int git_index_conflict_get( out IndexEntrySafeHandle ancestor, out IndexEntrySafeHandle ours, out IndexEntrySafeHandle theirs, IndexSafeHandle index, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(FilePathMarshaler))] FilePath path);
public static extern int git_index_find(IndexSafeHandle index, string path);
internal static extern int git_index_find( out UIntPtr pos, IndexSafeHandle index, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(FilePathMarshaler))] FilePath path);
internal static extern IndexEntrySafeHandle git_index_get_bypath( IndexSafeHandle index, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(FilePathMarshaler))] FilePath path, int stage);
internal static extern int git_index_open( out IndexSafeHandle index, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(FilePathMarshaler))] FilePath indexpath);
public static extern int git_index_write(IndexSafeHandle index);
internal static extern int git_index_write(IndexSafeHandle index);
internal static extern int git_diff_tree_to_index( out DiffListSafeHandle diff, RepositorySafeHandle repo, GitObjectSafeHandle oldTree, IndexSafeHandle index, GitDiffOptions options);
internal static extern int git_repository_index(out IndexSafeHandle index, RepositorySafeHandle repo);