internal static extern int git_repository_odb(out ObjectDatabaseSafeHandle odb, RepositorySafeHandle repo);
public static extern int git_note_default_ref( [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] out string notes_ref, RepositorySafeHandle repo);
public static extern int git_object_lookup_prefix(out GitObjectSafeHandle obj, RepositorySafeHandle repo, ref GitOid id, uint len, GitObjectType type);
public static extern int git_diff_workdir_to_tree( RepositorySafeHandle repo, GitDiffOptions options, GitObjectSafeHandle oldTree, out DiffListSafeHandle diff);
public static extern int git_note_read( out NoteSafeHandle note, RepositorySafeHandle repo, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string notes_ref, ref GitOid oid);
internal static extern int git_tag_list(out git_strarray array, RepositorySafeHandle repo);
public static extern int git_branch_move( RepositorySafeHandle repo, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string old_branch_name, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string new_branch_name, [MarshalAs(UnmanagedType.Bool)] bool force);
internal static extern int git_repository_state( RepositorySafeHandle repository);
internal static extern FilePath git_repository_workdir(RepositorySafeHandle repository);
internal static extern void git_repository_set_index( RepositorySafeHandle repository, IndexSafeHandle index);
internal static extern int git_repository_set_workdir( RepositorySafeHandle repository, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(FilePathMarshaler))] FilePath workdir, bool update_gitlink);
internal static extern void git_repository_set_config( RepositorySafeHandle repository, ConfigurationSafeHandle config);
internal static extern FilePath git_repository_path(RepositorySafeHandle repository);
internal static extern int git_repository_open( out RepositorySafeHandle repository, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(FilePathMarshaler))] FilePath path);
internal static extern int git_status_foreach(RepositorySafeHandle repo, git_status_cb cb, IntPtr payload);
internal static extern int git_reset( RepositorySafeHandle repo, GitObjectSafeHandle target, ResetOptions reset_type);
internal static extern int git_tag_delete( RepositorySafeHandle repo, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string tagName);
internal static extern int git_revparse_single( out GitObjectSafeHandle obj, RepositorySafeHandle repo, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string spec);
internal RawContentStream(ObjectId id, RepositorySafeHandle repo, Func <GitObjectSafeHandle, IntPtr> bytePtrProvider, long length) : this(new ObjectSafeWrapper(id, repo), bytePtrProvider, length) { }
internal static extern int git_revwalk_new(out RevWalkerSafeHandle walker, RepositorySafeHandle repo);
public static extern int git_diff_workdir_to_index( RepositorySafeHandle repo, GitDiffOptions options, out DiffListSafeHandle diff);
internal static extern int git_stash_save( out GitOid id, RepositorySafeHandle repo, SignatureSafeHandle stasher, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string message, StashOptions flags);
public static extern int git_merge_base( out GitOid mergeBase, RepositorySafeHandle repo, GitObjectSafeHandle one, GitObjectSafeHandle two);
internal static extern int git_stash_foreach( RepositorySafeHandle repo, git_stash_cb callback, IntPtr payload);
public static extern int git_note_remove( RepositorySafeHandle repo, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string notes_ref, SignatureSafeHandle author, SignatureSafeHandle committer, ref GitOid oid);
internal static extern int git_stash_drop(RepositorySafeHandle repo, UIntPtr index);
public static extern int git_note_foreach( RepositorySafeHandle repo, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string notes_ref, notes_foreach_callback callback, IntPtr payload);
internal static extern int git_status_file( out FileStatus statusflags, RepositorySafeHandle repo, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(FilePathMarshaler))] FilePath filepath);
public static extern int git_reference_create_oid( out ReferenceSafeHandle reference, RepositorySafeHandle repo, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string name, ref GitOid oid, [MarshalAs(UnmanagedType.Bool)] bool force);
internal static extern int git_repository_message( byte[] message_out, UIntPtr buffer_size, RepositorySafeHandle repository);