Ggit.PushOptions¶
| Subclasses: | None | 
|---|
Methods¶
| Inherited: | GObject.Object (37) | 
|---|---|
| Structs: | GObject.ObjectClass (5) | 
| class | new() | 
| get_parallelism() | |
| get_remote_callbacks() | |
| set_parallelism(parallelism) | |
| set_remote_callbacks(callbacks) | 
Virtual Methods¶
| Inherited: | GObject.Object (7) | 
|---|
Properties¶
| Name | Type | Flags | Short Description | 
|---|---|---|---|
| callbacks | Ggit.RemoteCallbacks | r/w | Callbacks | 
| parallelism | int | r/w/c | Parallelism | 
Signals¶
| Inherited: | GObject.Object (1) | 
|---|
Class Details¶
- 
class Ggit.PushOptions(**kwargs)¶
- Bases: - GObject.Object- Abstract: - No - Structure: - Ggit.PushOptionsClass- Represents a git push options. - 
classmethod new()¶
- Returns: - a - Ggit.PushOptionsor- None.- Return type: - Ggit.PushOptionsor- None- Create a new push options object. 
 - 
get_parallelism()¶
- Returns: - the number of parallel threads, or 0 for auto-detect. - Return type: - int- Get the number of parallel threads to use when creating the pack file to push. The special value 0 indicates that the number of threads will be automatically detected. 
 - 
get_remote_callbacks()¶
- Returns: - the object’s id or - None.- Return type: - Ggit.RemoteCallbacksor- None- gets the remote callbacks object 
 - 
set_parallelism(parallelism)¶
- Parameters: - parallelism ( - int) – the number of threads, or 0 for auto-detect.- Set the number of parallel threads to use when creating the pack file to push. The special value 0 can be specified for parallelism indicating that the number of threads will be automatically detected. 
 - 
set_remote_callbacks(callbacks)¶
- Parameters: - callbacks ( - Ggit.RemoteCallbacks) – the- Ggit.RemoteCallbacks- Set the remote callbacks for the push options 
 
- 
classmethod