()
| 38 | } |
| 39 | |
| 40 | func (mh *AnnotatedCommit) Free() { |
| 41 | runtime.SetFinalizer(mh, nil) |
| 42 | C.git_annotated_commit_free(mh.ptr) |
| 43 | } |
| 44 | |
| 45 | func (r *Repository) AnnotatedCommitFromFetchHead(branchName string, remoteURL string, oid *Oid) (*AnnotatedCommit, error) { |
| 46 | cbranchName := C.CString(branchName) |
nothing calls this directly
no outgoing calls
no test coverage detected