Ggit.CherryPickOptions¶
| Subclasses: | None | 
|---|
Methods¶
| Inherited: | GObject.Object (37) | 
|---|---|
| Structs: | GObject.ObjectClass (5) | 
| class | new() | 
| get_checkout_options() | |
| get_mainline() | |
| get_merge_options() | |
| set_checkout_options(checkout_options) | |
| set_mainline(mainline) | |
| set_merge_options(merge_options) | 
Virtual Methods¶
| Inherited: | GObject.Object (7) | 
|---|
Properties¶
| Name | Type | Flags | Short Description | 
|---|---|---|---|
| checkout-options | Ggit.CheckoutOptions | r/w | Checkout options | 
| mainline | int | r/w | Mainline | 
| merge-options | Ggit.MergeOptions | r/w | Merge options | 
Signals¶
| Inherited: | GObject.Object (1) | 
|---|
Class Details¶
- 
class Ggit.CherryPickOptions(**kwargs)¶
- Bases: - GObject.Object- Abstract: - No - Structure: - Ggit.CherryPickOptionsClass- Represents the options used when doign a cherry-pick. - 
classmethod new()¶
- Returns: - a - Ggit.CherryPickOptions.- Return type: - Ggit.CherryPickOptions- Create a new cherry-pick options object. 
 - 
get_checkout_options()¶
- Returns: - a - Ggit.CheckoutOptions.- Return type: - Ggit.CheckoutOptions- Get the checkout options. 
 - 
get_mainline()¶
- Returns: - the mainline parent. - Return type: - int- Get the mainline parent to use when cherry-picking a merge commit. 
 - 
get_merge_options()¶
- Returns: - a - Ggit.MergeOptions.- Return type: - Ggit.MergeOptions- Get the merge options. 
 - 
set_checkout_options(checkout_options)¶
- Parameters: - checkout_options ( - Ggit.CheckoutOptionsor- None) – a- Ggit.CheckoutOptions.- Set the checkout options. 
 - 
set_mainline(mainline)¶
- Parameters: - mainline ( - int) – the mainline parent.- Set the mainline parent to use when cherry-picking a merge commit. 
 - 
set_merge_options(merge_options)¶
- Parameters: - merge_options ( - Ggit.MergeOptionsor- None) – a- Ggit.MergeOptions.- Set the merge options. 
 
- 
classmethod 
Property Details¶
- 
Ggit.CherryPickOptions.props.checkout_options¶
- Name: - checkout-options- Type: - Ggit.CheckoutOptions- Default Value: - None- Flags: - READABLE,- WRITABLE- Checkout options 
- 
Ggit.CherryPickOptions.props.mainline¶
- Name: - mainline- Type: - int- Default Value: - 0- Flags: - READABLE,- WRITABLE- Mainline 
- 
Ggit.CherryPickOptions.props.merge_options¶
- Name: - merge-options- Type: - Ggit.MergeOptions- Default Value: - None- Flags: - READABLE,- WRITABLE- Merge options