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

Method String

rebase.go:35–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33)
34
35func (t RebaseOperationType) String() string {
36 switch t {
37 case RebaseOperationPick:
38 return "pick"
39 case RebaseOperationReword:
40 return "reword"
41 case RebaseOperationEdit:
42 return "edit"
43 case RebaseOperationSquash:
44 return "squash"
45 case RebaseOperationFixup:
46 return "fixup"
47 case RebaseOperationExec:
48 return "exec"
49 }
50 return fmt.Sprintf("RebaseOperationType(%d)", t)
51}
52
53// Special value indicating that there is no currently active operation
54var RebaseNoOperation uint = ^uint(0)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected