Interface

IdeVcsCloner

Description

interface Ide.VcsCloner : Ide.Object
No description available.

Prerequisite

In order to implement VcsCloner, your type must inherit from IdeObject.

Instance methods

ide_vcs_cloner_clone_async
No description available.

Available since: 3.32

ide_vcs_cloner_clone_finish
No description available.

Available since: 3.32

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
GTypeInterface
 No description available.
get_title
gchar* (* get_title) (
    IdeVcsCloner* self
  )
 No description available.
validate_uri
gboolean (* validate_uri) (
    IdeVcsCloner* self,
    const gchar* uri,
    gchar** errmsg
  )
 No description available.
clone_async
void (* clone_async) (
    IdeVcsCloner* self,
    const gchar* uri,
    const gchar* destination,
    GVariant* options,
    IdeNotification* progress,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data
  )
 No description available.
clone_finish
gboolean (* clone_finish) (
    IdeVcsCloner* self,
    GAsyncResult* result,
    GError** error
  )
 No description available.

Functions

ide_vcs_cloner_clone_simple
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.