(ptr *C.git_annotated_commit, r *Repository)
| 23 | } |
| 24 | |
| 25 | func newAnnotatedCommitFromC(ptr *C.git_annotated_commit, r *Repository) *AnnotatedCommit { |
| 26 | mh := &AnnotatedCommit{ptr: ptr, r: r} |
| 27 | runtime.SetFinalizer(mh, (*AnnotatedCommit).Free) |
| 28 | return mh |
| 29 | } |
| 30 | |
| 31 | func (mh *AnnotatedCommit) Id() *Oid { |
| 32 | runtime.LockOSThread() |
no outgoing calls
no test coverage detected
searching dependent graphs…