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

Method Free

merge.go:40–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38}
39
40func (mh *AnnotatedCommit) Free() {
41 runtime.SetFinalizer(mh, nil)
42 C.git_annotated_commit_free(mh.ptr)
43}
44
45func (r *Repository) AnnotatedCommitFromFetchHead(branchName string, remoteURL string, oid *Oid) (*AnnotatedCommit, error) {
46 cbranchName := C.CString(branchName)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected