Ggit.RevertOptions¶
Fields¶
None
Methods¶
class |
|
|
|
|
Details¶
- class Ggit.RevertOptions¶
Represents the options used when reverting.
- classmethod new(mainline, merge_options, checkout_options)¶
- Parameters:
mainline (
int
) – the mainline.merge_options (
Ggit.MergeOptions
orNone
) – aGgit.MergeOptions
.checkout_options (
Ggit.CheckoutOptions
orNone
) – aGgit.CheckoutOptions
.
- Returns:
a
Ggit.RevertOptions
orNone
.- Return type:
Create a new
Ggit.RevertOptions
. Note that the passed in merge_options and checkout_options are copied by this function, and alterations in either after this call are therefore not reflected in the revert options.The mainline indicates which parent to use for the revert when reverting a merge commit.
- copy()¶
- Returns:
a newly allocated
Ggit.RevertOptions
orNone
.- Return type:
Copies self into a newly allocated
Ggit.RevertOptions
.
- free()¶
Frees self.