ide-vcs-uri: Builder SDK Reference

## ide-vcs-uri ide-vcs-uri |

## Functions

IdeVcsUri * | ide_vcs_uri_new ()
IdeVcsUri * | ide_vcs_uri_ref ()
void | ide_vcs_uri_unref ()
const gchar * | ide_vcs_uri_get_scheme ()
const gchar * | ide_vcs_uri_get_user ()
const gchar * | ide_vcs_uri_get_host ()
guint | ide_vcs_uri_get_port ()
const gchar * | ide_vcs_uri_get_path ()
void | ide_vcs_uri_set_scheme ()
void | ide_vcs_uri_set_user ()
void | ide_vcs_uri_set_host ()
void | ide_vcs_uri_set_port ()
void | ide_vcs_uri_set_path ()
gchar * | ide_vcs_uri_to_string ()
gboolean | ide_vcs_uri_is_valid ()
gchar * | ide_vcs_uri_get_clone_name ()

## Object Hierarchy

        GBoxed
        ╰── IdeVcsUri

## Description

## Functions

### ide_vcs_uri_new ()

    IdeVcsUri *
    ide_vcs_uri_new (const gchar *uri);

### ide_vcs_uri_ref ()

    IdeVcsUri *
    ide_vcs_uri_ref (IdeVcsUri *self);

### ide_vcs_uri_unref ()

    void
    ide_vcs_uri_unref (IdeVcsUri *self);

### ide_vcs_uri_get_scheme ()

    const gchar *
    ide_vcs_uri_get_scheme (const IdeVcsUri *self);

### ide_vcs_uri_get_user ()

    const gchar *
    ide_vcs_uri_get_user (const IdeVcsUri *self);

### ide_vcs_uri_get_host ()

    const gchar *
    ide_vcs_uri_get_host (const IdeVcsUri *self);

### ide_vcs_uri_get_port ()

    guint
    ide_vcs_uri_get_port (const IdeVcsUri *self);

### ide_vcs_uri_get_path ()

    const gchar *
    ide_vcs_uri_get_path (const IdeVcsUri *self);

### ide_vcs_uri_set_scheme ()

    void
    ide_vcs_uri_set_scheme (IdeVcsUri *self,
                            const gchar *scheme);

### ide_vcs_uri_set_user ()

    void
    ide_vcs_uri_set_user (IdeVcsUri *self,
                          const gchar *user);

### ide_vcs_uri_set_host ()

    void
    ide_vcs_uri_set_host (IdeVcsUri *self,
                          const gchar *host);

### ide_vcs_uri_set_port ()

    void
    ide_vcs_uri_set_port (IdeVcsUri *self,
                          guint port);

### ide_vcs_uri_set_path ()

    void
    ide_vcs_uri_set_path (IdeVcsUri *self,
                          const gchar *path);

### ide_vcs_uri_to_string ()

    gchar *
    ide_vcs_uri_to_string (const IdeVcsUri *self);

### ide_vcs_uri_is_valid ()

    gboolean
    ide_vcs_uri_is_valid (const gchar *uri_string);

### ide_vcs_uri_get_clone_name ()

    gchar *
    ide_vcs_uri_get_clone_name (const IdeVcsUri *self);

Determines a suggested name for the checkout directory. Some special handling of suffixes such as ".git" are performed to improve the the quality of results.

#### Parameters

self | an ideVcsUri |

#### Returns

a string containing the suggested clone directory name, or `NULL`.

[transfer full][nullable]

Since: 3.32

## Types and Values