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

Function newRebaseOperationFromC

rebase.go:66–73  ·  view source on GitHub ↗
(c *C.git_rebase_operation)

Source from the content-addressed store, hash-verified

64}
65
66func newRebaseOperationFromC(c *C.git_rebase_operation) *RebaseOperation {
67 operation := &RebaseOperation{}
68 operation.Type = RebaseOperationType(c._type)
69 operation.Id = newOidFromC(&c.id)
70 operation.Exec = C.GoString(c.exec)
71
72 return operation
73}
74
75//export commitCreateCallback
76func commitCreateCallback(

Callers 2

OperationAtMethod · 0.85
NextMethod · 0.85

Calls 2

RebaseOperationTypeTypeAlias · 0.85
newOidFromCFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…