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

GitErrorCode.cs « Core « LibGit2Sharp - github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a6c44e68ba8bcbc9d906ee4f197a88830c1d8772 (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
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
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>
        /// Skip and passthrough the given ODB backend.
        /// </summary>
        PassThrough = -30,

        /// <summary>
        /// There are no more entries left to iterate.
        /// </summary>
        IterOver = -31,
    }
}