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

Function freeMergeFileOptions

merge.go:533–540  ·  view source on GitHub ↗
(copts *C.git_merge_file_options)

Source from the content-addressed store, hash-verified

531}
532
533func freeMergeFileOptions(copts *C.git_merge_file_options) {
534 if copts == nil {
535 return
536 }
537 C.free(unsafe.Pointer(copts.ancestor_label))
538 C.free(unsafe.Pointer(copts.our_label))
539 C.free(unsafe.Pointer(copts.their_label))
540}
541
542func MergeFile(ancestor MergeFileInput, ours MergeFileInput, theirs MergeFileInput, options *MergeFileOptions) (*MergeFileResult, error) {
543

Callers 1

MergeFileFunction · 0.85

Calls 1

freeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…