Free frees the Rebase object.
()
| 473 | |
| 474 | // Free frees the Rebase object. |
| 475 | func (r *Rebase) Free() { |
| 476 | runtime.SetFinalizer(r, nil) |
| 477 | C.git_rebase_free(r.ptr) |
| 478 | freeRebaseOptions(r.options) |
| 479 | } |
| 480 | |
| 481 | func newRebaseFromC(ptr *C.git_rebase, repo *Repository, opts *C.git_rebase_options) *Rebase { |
| 482 | rebase := &Rebase{ptr: ptr, r: repo, options: opts} |
nothing calls this directly
no test coverage detected