Function
GgitRepositoryclone
Declaration [src]
GgitRepository*
ggit_repository_clone (
const gchar* url,
GFile* location,
GgitCloneOptions* options,
GError** error
)
Parameters
url |
const gchar* |
Url to fetch the repository from. |
|
| The data is owned by the caller of the function. | |
| The value is a NUL terminated UTF-8 string. | |
location |
GFile |
The location of the repository. |
|
| The data is owned by the caller of the function. | |
options |
GgitCloneOptions |
A |
|
The argument can be NULL. | |
| The data is owned by the caller of the function. | |
error |
GError ** |
The return location for a GError*, or NULL. |
Return value
| Returns: | GgitRepository |
A newly created |
|
| The caller of the function takes ownership of the data, and is responsible for freeing it. | |
The return value can be NULL. |