Interface
IdeVcsCloner
Prerequisite
In order to implement VcsCloner, your type must inherit from
IdeObject
.
Functions
ide_vcs_cloner_clone_simple
No description available.
Instance methods
ide_vcs_cloner_get_title
Gets the for the cloner, such as “Git”. This may be used to present a selector to the user based on the backend clone engine. Other suitable titles might be “Subversion” or “CVS”.
Available since: 3.32
ide_vcs_cloner_validate_uri
Checks to see if uri
is valid, and if not, sets errmsg
to a string
describing how the URI is invalid.
Available since: 3.32
Interface structure
struct IdeVcsClonerInterface {
GTypeInterface parent_iface;
gchar* (* get_title) (
IdeVcsCloner* self
);
gboolean (* validate_uri) (
IdeVcsCloner* self,
const gchar* uri,
gchar** errmsg
);
void (* clone_async) (
IdeVcsCloner* self,
const gchar* uri,
const gchar* destination,
GVariant* options,
IdeNotification* progress,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
);
gboolean (* clone_finish) (
IdeVcsCloner* self,
GAsyncResult* result,
GError** error
);
}
Interface members
parent_iface |
|
No description available. | |
get_title |
|
No description available. | |
validate_uri |
|
No description available. | |
clone_async |
|
No description available. | |
clone_finish |
|
No description available. |
Virtual methods
Ide.VcsCloner.clone_async
No description available.
Ide.VcsCloner.clone_finish
No description available.
Ide.VcsCloner.get_title
Gets the for the cloner, such as “Git”. This may be used to present a selector to the user based on the backend clone engine. Other suitable titles might be “Subversion” or “CVS”.
Ide.VcsCloner.validate_uri
Checks to see if uri
is valid, and if not, sets errmsg
to a string
describing how the URI is invalid.