Welcome to mirror list, hosted at ThFree Co, Russian Federation.

GitCloneOptions.cs « Core « LibGit2Sharp - github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 803bc8b3cb858ca8ecc2bf0bf5a21dc704ddf7cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using System;
using System.Runtime.InteropServices;

namespace LibGit2Sharp.Core
{
    internal enum GitCloneLocal
    {
        CloneLocalAuto,
        CloneLocal,
        CloneNoLocal,
        CloneLocalNoLinks
    }

    [StructLayout(LayoutKind.Sequential)]
    internal struct GitCloneOptions
    {
        public uint Version;

        public GitCheckoutOpts CheckoutOpts;
        public GitRemoteCallbacks RemoteCallbacks;

        public int Bare;
        public GitCloneLocal Local;
        public IntPtr CheckoutBranch;

        public IntPtr signature; // Really a SignatureSafeHandle

        public IntPtr RepositoryCb;
        public IntPtr RepositoryCbPayload;

        public IntPtr RemoteCb;
        public IntPtr RemoteCbPayload;
    }
}