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

Function newRebaseFromC

rebase.go:481–485  ·  view source on GitHub ↗
(ptr *C.git_rebase, repo *Repository, opts *C.git_rebase_options)

Source from the content-addressed store, hash-verified

479}
480
481func newRebaseFromC(ptr *C.git_rebase, repo *Repository, opts *C.git_rebase_options) *Rebase {
482 rebase := &Rebase{ptr: ptr, r: repo, options: opts}
483 runtime.SetFinalizer(rebase, (*Rebase).Free)
484 return rebase
485}

Callers 2

InitRebaseMethod · 0.85
OpenRebaseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…