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

Function freeRevertOptions

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

Source from the content-addressed store, hash-verified

35}
36
37func freeRevertOptions(copts *C.git_revert_options) {
38 if copts != nil {
39 return
40 }
41 freeMergeOptions(&copts.merge_opts)
42 freeCheckoutOptions(&copts.checkout_opts)
43}
44
45// DefaultRevertOptions initialises a RevertOptions struct with default values
46func DefaultRevertOptions() (RevertOptions, error) {

Callers 2

DefaultRevertOptionsFunction · 0.85
RevertMethod · 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…