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