![]() |
![]() |
![]() |
libgit2-glib Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
GgitPush; struct GgitPushClass; GgitPush * ggit_push_new (GgitRemote *remote
,GError **error
); void ggit_push_add_refspec (GgitPush *push
,const gchar *refspec
,GError **error
); void ggit_push_finish (GgitPush *push
,GError **error
); gboolean ggit_push_is_unpack_ok (GgitPush *push
);
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] |
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 . |
void ggit_push_finish (GgitPush *push
,GError **error
);
Actually push all given refspecs.
|
a GgitPush. |
|
a GError for error reporting, or NULL . |
"remote"
property"remote" GgitRemote* : Read / Write / Construct Only
The remote associated with this push.