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

Method Free

rebase.go:475–479  ·  view source on GitHub ↗

Free frees the Rebase object.

()

Source from the content-addressed store, hash-verified

473
474// Free frees the Rebase object.
475func (r *Rebase) Free() {
476 runtime.SetFinalizer(r, nil)
477 C.git_rebase_free(r.ptr)
478 freeRebaseOptions(r.options)
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}

Callers

nothing calls this directly

Calls 1

freeRebaseOptionsFunction · 0.85

Tested by

no test coverage detected