forked from libgit2/libgit2sharp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGitErrorCode.cs
More file actions
129 lines (105 loc) · 3.06 KB
/
GitErrorCode.cs
File metadata and controls
129 lines (105 loc) · 3.06 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
namespace LibGit2Sharp.Core
{
internal enum GitErrorCode
{
Ok = 0,
Error = -1,
/// <summary>
/// Input does not exist in the scope searched.
/// </summary>
NotFound = -3,
/// <summary>
/// Input already exists in the processed scope.
/// </summary>
Exists = -4,
/// <summary>
/// The given short oid is ambiguous.
/// </summary>
Ambiguous = -5,
/// <summary>
/// Buffer related issue.
/// </summary>
Buffer = -6,
/// <summary>
/// Callback error.
/// </summary>
User = -7,
/// <summary>
/// Operation cannot be performed against a bare repository.
/// </summary>
BareRepo = -8,
/// <summary>
/// Operation cannot be performed against an orphaned HEAD.
/// </summary>
OrphanedHead = -9,
/// <summary>
/// Operation cannot be performed against a not fully merged index.
/// </summary>
UnmergedEntries = -10,
/// <summary>
/// Push cannot be performed against the remote without losing commits.
/// </summary>
NonFastForward = -11,
/// <summary>
/// Input is not a valid specification.
/// </summary>
InvalidSpecification = -12,
/// <summary>
/// A conflicting change has been detected in the index
/// or working directory.
/// </summary>
Conflict = -13,
/// <summary>
/// A file operation failed because the file was locked.
/// </summary>
LockedFile = -14,
/// <summary>
/// Reference value does not match expected.
/// </summary>
Modified = -15,
/// <summary>
/// Authentication error.
/// </summary>
Auth = -16,
/// <summary>
/// Server certificate is invalid.
/// </summary>
Certificate = -17,
/// <summary>
/// Patch/merge has already been applied.
/// </summary>
Applied = -18,
/// <summary>
/// The requested peel operation is not possible.
/// </summary>
Peel = -19,
/// <summary>
/// Unexpected EOF.
/// </summary>
EndOfFile = -20,
/// <summary>
/// Invalid operation or input.
/// </summary>
Invalid = -21,
/// <summary>
/// Uncommitted changes in index prevented operation.
/// </summary>
Uncommitted = -22,
/// <summary>
/// The operation is not valid for a directory.
/// </summary>
Directory = -23,
/// <summary>
/// A merge conflict exists and cannot continue
/// </summary>
MergeConflict = -24,
/// <summary>
/// Skip and passthrough the given ODB backend.
/// </summary>
PassThrough = -30,
/// <summary>
/// There are no more entries left to iterate.
/// </summary>
IterOver = -31,
}
}