Method

GgitRepositoryset_submodule_url

Declaration [src]

void
ggit_repository_set_submodule_url (
  GgitRepository* repository,
  const gchar* name,
  const gchar* url,
  GError** error
)

Description [src]

Sets the URL for the submodule in the configuration.

After calling this, you may wish to call ggit_submodule_sync() to write the changes to the checked out submodule repository.

Parameters

name const gchar*
 

The name of the submodule to configure.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
url const gchar*
 

URL that should be used for the submodule.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
error GError **
  The return location for a GError*, or NULL.