Class
GgitRemote
since: 1.0
Description [src]
class Ggit.Remote : Ggit.Native
{
/* No available fields */
}
Represents a git remote.
Available since: 1.0
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.
since: 1.0
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.
since: 1.0
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.
since: 1.0
ggit_remote_disconnect
Closes the connection to the remote and frees the underlying transport.
since: 1.0
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.
since: 1.0
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.
since: 1.0
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.
unstable since: 2.0