File tree Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 1
- namespace LibGit2Sharp . Core
1
+ namespace LibGit2Sharp
2
2
{
3
- internal enum GitErrorCategory
3
+ public enum GitErrorCategory
4
4
{
5
5
Unknown = - 1 ,
6
6
None ,
@@ -36,6 +36,8 @@ internal enum GitErrorCategory
36
36
Filesystem ,
37
37
Patch ,
38
38
Worktree ,
39
- Sha1
39
+ Sha1 ,
40
+ Http ,
41
+ Internal
40
42
}
41
43
}
Original file line number Diff line number Diff line change 1
- namespace LibGit2Sharp . Core
1
+ namespace LibGit2Sharp
2
2
{
3
- internal enum GitErrorCode
3
+ /// <summary>
4
+ /// Git Error Code contains a list of possible error codes returned by LibGit2
5
+ /// </summary>
6
+ public enum GitErrorCode
4
7
{
8
+ /// <summary>
9
+ /// No Error result OK
10
+ /// </summary>
5
11
Ok = 0 ,
12
+
13
+ /// <summary>
14
+ /// General Error
15
+ /// </summary>
6
16
Error = - 1 ,
7
17
8
18
/// <summary>
You can’t perform that action at this time.
0 commit comments