| Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
Synopsis
GgitPush; struct GgitPushClass; GgitPush * ggit_push_new (GgitRemote *remote,GError **error); void ggit_push_add_refspec (GgitPush *push,const gchar *refspec,GError **error); gboolean ggit_push_finish (GgitPush *push,GgitPushProgress *progress,GError **error); gboolean ggit_push_is_unpack_ok (GgitPush *push);
Details
ggit_push_new ()
GgitPush * ggit_push_new (GgitRemote *remote,GError **error);
Creates a new GgitPush for remote.
|
a GgitRemote. |
|
a GError for error reporting, or NULL. |
Returns : |
a newly created GgitPush. [transfer full] |
ggit_push_add_refspec ()
void ggit_push_add_refspec (GgitPush *push,const gchar *refspec,GError **error);
Adds a refspec to be pushed.
|
a GgitPush. |
|
Refspec string. |
|
a GError for error reporting, or NULL. |
ggit_push_finish ()
gboolean ggit_push_finish (GgitPush *push,GgitPushProgress *progress,GError **error);
Actually push all given refspecs.
|
a GgitPush. |
|
a GgitPushProgress, or NULL. [allow-none]
|
|
a GError for error reporting, or NULL. |
Property Details
The "remote" property
"remote" GgitRemote* : Read / Write / Construct Only
The remote associated with this push.
