Ggit.PushOptions¶
- Subclasses:
 None
Methods¶
- Inherited:
 - Structs:
 
class  | 
  | 
  | 
|
  | 
Virtual Methods¶
- Inherited:
 
Properties¶
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r/w  | 
Callbacks  | 
||
r/w/c  | 
Parallelism  | 
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
parent_instance  | 
r  | 
Class Details¶
- class Ggit.PushOptions(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
Represents a git push options.
- classmethod new()¶
 - Returns:
 a
Ggit.PushOptionsorNone.- Return type:
 
Create a new push options object.
- get_parallelism()¶
 - Returns:
 the number of parallel threads, or 0 for auto-detect.
- Return type:
 
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:
 
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) – theGgit.RemoteCallbacks
Set the remote callbacks for the push options
Property Details¶
- Ggit.PushOptions.props.callbacks¶
 - Name:
 callbacks- Type:
 - Default Value:
 - Flags:
 
Callbacks