Class
GgitRemote
Description [src]
class Ggit.Remote : Ggit.Native
{
/* No available fields */
}
Represents a git remote.
Constructors
ggit_remote_new
Creates a remote with the default refspecs in memory. You can use this when you have a URL instead of a remote’s name.
ggit_remote_new_anonymous
Creates a remote with the specified refspec in memory. You can use this when you have a URL instead of a remote’s name.
Instance methods
ggit_remote_connect
Opens a connection to a remote. The transport is selected based on the URL. The direction argument is due to a limitation of the git protocol (over TCP or SSH) which starts up a specific binary which can only do the one or the other.
ggit_remote_download
Connect to the remote if not yet connected, negotiate with the remote about which objects are missing and download the resulting packfile and its index.
ggit_remote_push
Connect to the remote if not yet connected, negotiate with the remote about which objects are missing, create a packfile with the missing objects and send it.
Properties
Properties inherited from GgitNative (1)
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.