Virtual Method
GgitCloneOptionscreate_repository
Declaration [src]
GgitRepository*
create_repository (
GgitCloneOptions* options,
const gchar* path,
gboolean is_bare,
GError** error
)
Parameters
path |
const gchar* |
The repository path. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
is_bare |
gboolean |
Whether a bare repository should be created. |
|
error |
GError ** |
The return location for a GError* , or NULL . |
Return value
Returns: | GgitRepository |
A |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. | |
The return value can be NULL . |