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

Function freeCherrypickOpts

cherrypick.go:37–43  ·  view source on GitHub ↗
(copts *C.git_cherrypick_options)

Source from the content-addressed store, hash-verified

35}
36
37func freeCherrypickOpts(copts *C.git_cherrypick_options) {
38 if copts == nil {
39 return
40 }
41 freeMergeOptions(&copts.merge_opts)
42 freeCheckoutOptions(&copts.checkout_opts)
43}
44
45func DefaultCherrypickOptions() (CherrypickOptions, error) {
46 c := C.git_cherrypick_options{}

Callers 2

DefaultCherrypickOptionsFunction · 0.85
CherrypickMethod · 0.85

Calls 2

freeMergeOptionsFunction · 0.85
freeCheckoutOptionsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…