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: bed647e31578afe5b57e5b48664b43d13bbc8890 (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 GitFetchOptions FetchOpts;

        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;
    }
}