forked from libgit2/libgit2sharp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGitCloneOptions.cs
More file actions
34 lines (27 loc) · 747 Bytes
/
GitCloneOptions.cs
File metadata and controls
34 lines (27 loc) · 747 Bytes
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;
}
}