MCPcopy Create free account
hub / github.com/libgit2/git2go / _

Function _

errorcode_string.go:7–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5import "strconv"
6
7func _() {
8 // An "invalid array index" compiler error signifies that the constant values have changed.
9 // Re-run the stringer command to generate them again.
10 var x [1]struct{}
11 _ = x[ErrorCodeOK-0]
12 _ = x[ErrorCodeGeneric - -1]
13 _ = x[ErrorCodeNotFound - -3]
14 _ = x[ErrorCodeExists - -4]
15 _ = x[ErrorCodeAmbiguous - -5]
16 _ = x[ErrorCodeBuffs - -6]
17 _ = x[ErrorCodeUser - -7]
18 _ = x[ErrorCodeBareRepo - -8]
19 _ = x[ErrorCodeUnbornBranch - -9]
20 _ = x[ErrorCodeUnmerged - -10]
21 _ = x[ErrorCodeNonFastForward - -11]
22 _ = x[ErrorCodeInvalidSpec - -12]
23 _ = x[ErrorCodeConflict - -13]
24 _ = x[ErrorCodeLocked - -14]
25 _ = x[ErrorCodeModified - -15]
26 _ = x[ErrorCodeAuth - -16]
27 _ = x[ErrorCodeCertificate - -17]
28 _ = x[ErrorCodeApplied - -18]
29 _ = x[ErrorCodePeel - -19]
30 _ = x[ErrorCodeEOF - -20]
31 _ = x[ErrorCodeInvalid - -21]
32 _ = x[ErrorCodeUncommitted - -22]
33 _ = x[ErrorCodeDirectory - -23]
34 _ = x[ErrorCodeMergeConflict - -24]
35 _ = x[ErrorCodePassthrough - -30]
36 _ = x[ErrorCodeIterOver - -31]
37 _ = x[ErrorCodeRetry - -32]
38 _ = x[ErrorCodeMismatch - -33]
39 _ = x[ErrorCodeIndexDirty - -34]
40 _ = x[ErrorCodeApplyFail - -35]
41}
42
43const (
44 _ErrorCode_name_0 = "ApplyFailIndexDirtyMismatchRetryIterOverPassthrough"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected