(copts *C.git_revert_options)
| 27 | } |
| 28 | |
| 29 | func revertOptionsFromC(copts *C.git_revert_options) RevertOptions { |
| 30 | return RevertOptions{ |
| 31 | Mainline: uint(copts.mainline), |
| 32 | MergeOptions: mergeOptionsFromC(&copts.merge_opts), |
| 33 | CheckoutOptions: checkoutOptionsFromC(&copts.checkout_opts), |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | func freeRevertOptions(copts *C.git_revert_options) { |
| 38 | if copts != nil { |
no test coverage detected
searching dependent graphs…