public static extern int git_remote_new(
     out RemoteSafeHandle remote,
     RepositorySafeHandle repo,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string name,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string url,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string fetchrefspec);
Exemple #2
0
 internal static extern int git_remote_set_fetchspec(
     RemoteSafeHandle remote,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string fetchrefspec);
Exemple #3
0
 internal static extern int git_remote_update_tips(RemoteSafeHandle remote);
Exemple #4
0
 internal static extern void git_remote_set_autotag(RemoteSafeHandle remote, TagFetchMode option);
Exemple #5
0
 internal static extern int git_remote_set_callbacks(
     RemoteSafeHandle remote,
     ref GitRemoteCallbacks callbacks);
 public static extern int git_remote_load(
     out RemoteSafeHandle remote,
     RepositorySafeHandle repo,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string name);
 internal static extern int git_remote_get_push_refspecs(out git_strarray array, RemoteSafeHandle remote);
Exemple #8
0
 internal static extern int git_remote_ls(RemoteSafeHandle remote, git_headlist_cb headlist_cb, IntPtr payload);
Exemple #9
0
 internal static extern GitFetchSpecHandle git_remote_fetchspec(RemoteSafeHandle remote);
Exemple #10
0
 internal static extern void git_remote_disconnect(RemoteSafeHandle remote);
Exemple #11
0
 internal static extern int git_remote_download(
     RemoteSafeHandle remote,
     git_transfer_progress_callback progress_cb,
     IntPtr payload);
Exemple #12
0
 internal static extern int git_remote_create(
     out RemoteSafeHandle remote,
     RepositorySafeHandle repo,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string name,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string url);
Exemple #13
0
 internal static extern int git_remote_connect(RemoteSafeHandle remote, GitDirection direction);
Exemple #14
0
 internal static extern int git_push_new(out PushSafeHandle push, RemoteSafeHandle remote);
 public static extern string git_remote_url(RemoteSafeHandle remote);
Exemple #16
0
 internal static extern string git_remote_name(RemoteSafeHandle remote);
 public static extern int git_remote_save(RemoteSafeHandle remote);
Exemple #18
0
 internal static extern void git_remote_set_cred_acquire_cb(
     RemoteSafeHandle remote,
     git_cred_acquire_cb cred_acquire_cb,
     IntPtr payload);
 public static extern IntPtr git_remote_url(RemoteSafeHandle remote);
Exemple #20
0
 public static extern int git_remote_get(
     out RemoteSafeHandle remote,
     ConfigurationSafeHandle cfg,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string name);