GgitPushOptions
GgitPushOptions
|
|
Object Hierarchy
GObject
╰── GgitPushOptions
Functions
ggit_push_options_new ()
GgitPushOptions *
ggit_push_options_new (void
);
Create a new push options object.
ggit_push_options_get_parallelism ()
gint
ggit_push_options_get_parallelism (GgitPushOptions *options
);
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.
Returns
the number of parallel threads, or 0 for auto-detect.
ggit_push_options_set_parallelism ()
void
ggit_push_options_set_parallelism (GgitPushOptions *options
,
gint parallelism
);
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.
Types and Values
GGIT_TYPE_PUSH_OPTIONS
#define GGIT_TYPE_PUSH_OPTIONS (ggit_push_options_get_type ())
struct GgitPushOptionsClass
struct GgitPushOptionsClass {
GObjectClass parent_class;
};
GgitPushOptions
typedef struct _GgitPushOptions GgitPushOptions;
Represents a git push options.
Property Details
The “callbacks”
property
“callbacks” GgitRemoteCallbacks *
Callbacks.
Owner: GgitPushOptions
Flags: Read / Write
The “parallelism”
property
“parallelism” int
Parallelism.
Owner: GgitPushOptions
Flags: Read / Write / Construct
Allowed values: >= 0
Default value: 1