Esempio n. 1
0
 internal static extern int git_repository_odb(out ObjectDatabaseSafeHandle odb, RepositorySafeHandle repo);
Esempio n. 2
0
 public static extern int git_note_default_ref(
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] out string notes_ref,
     RepositorySafeHandle repo);
Esempio n. 3
0
 public static extern int git_object_lookup_prefix(out GitObjectSafeHandle obj, RepositorySafeHandle repo, ref GitOid id, uint len, GitObjectType type);
Esempio n. 4
0
 public static extern int git_diff_workdir_to_tree(
     RepositorySafeHandle repo,
     GitDiffOptions options,
     GitObjectSafeHandle oldTree,
     out DiffListSafeHandle diff);
Esempio n. 5
0
 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);
Esempio n. 7
0
 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);
Esempio n. 8
0
 internal static extern int git_repository_state(
     RepositorySafeHandle repository);
Esempio n. 9
0
 internal static extern FilePath git_repository_workdir(RepositorySafeHandle repository);
Esempio n. 10
0
 internal static extern void git_repository_set_index(
     RepositorySafeHandle repository,
     IndexSafeHandle index);
Esempio n. 11
0
 internal static extern int git_repository_set_workdir(
     RepositorySafeHandle repository,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(FilePathMarshaler))] FilePath workdir,
     bool update_gitlink);
Esempio n. 12
0
 internal static extern void git_repository_set_config(
     RepositorySafeHandle repository,
     ConfigurationSafeHandle config);
Esempio n. 13
0
 internal static extern FilePath git_repository_path(RepositorySafeHandle repository);
Esempio n. 14
0
 internal static extern int git_repository_open(
     out RepositorySafeHandle repository,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(FilePathMarshaler))] FilePath path);
Esempio n. 15
0
 internal static extern int git_status_foreach(RepositorySafeHandle repo, git_status_cb cb, IntPtr payload);
Esempio n. 16
0
 internal static extern int git_reset(
     RepositorySafeHandle repo,
     GitObjectSafeHandle target,
     ResetOptions reset_type);
Esempio n. 17
0
 internal static extern int git_tag_delete(
     RepositorySafeHandle repo,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string tagName);
Esempio n. 18
0
 internal static extern int git_revparse_single(
     out GitObjectSafeHandle obj,
     RepositorySafeHandle repo,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string spec);
Esempio n. 19
0
 internal RawContentStream(ObjectId id, RepositorySafeHandle repo,
                           Func <GitObjectSafeHandle, IntPtr> bytePtrProvider, long length)
     : this(new ObjectSafeWrapper(id, repo), bytePtrProvider, length)
 {
 }
Esempio n. 20
0
 internal static extern int git_revwalk_new(out RevWalkerSafeHandle walker, RepositorySafeHandle repo);
Esempio n. 21
0
 public static extern int git_diff_workdir_to_index(
     RepositorySafeHandle repo,
     GitDiffOptions options,
     out DiffListSafeHandle diff);
Esempio n. 22
0
 internal static extern int git_stash_save(
     out GitOid id,
     RepositorySafeHandle repo,
     SignatureSafeHandle stasher,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string message,
     StashOptions flags);
Esempio n. 23
0
 public static extern int git_merge_base(
     out GitOid mergeBase,
     RepositorySafeHandle repo,
     GitObjectSafeHandle one,
     GitObjectSafeHandle two);
Esempio n. 24
0
 internal static extern int git_stash_foreach(
     RepositorySafeHandle repo,
     git_stash_cb callback,
     IntPtr payload);
Esempio n. 25
0
 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);
Esempio n. 26
0
 internal static extern int git_stash_drop(RepositorySafeHandle repo, UIntPtr index);
Esempio n. 27
0
 public static extern int git_note_foreach(
     RepositorySafeHandle repo,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string notes_ref,
     notes_foreach_callback callback,
     IntPtr payload);
Esempio n. 28
0
 internal static extern int git_status_file(
     out FileStatus statusflags,
     RepositorySafeHandle repo,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(FilePathMarshaler))] FilePath filepath);
Esempio n. 29
0
 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);
Esempio n. 30
0
 internal static extern int git_repository_message(
     byte[] message_out,
     UIntPtr buffer_size,
     RepositorySafeHandle repository);