Method
GgitRepositorycheckout_index
Declaration [src]
gboolean
ggit_repository_checkout_index (
GgitRepository* repository,
GgitIndex* index,
GgitCheckoutOptions* options,
GError** error
)
Description [src]
Update files in the working tree to reflect the contents of the index. If
index
is NULL
, then the current index of the repository will be used. If
options
is NULL
, then the default checkout options will be used.
If the checkout was not successfull, then error
will be set.
Parameters
index |
GgitIndex |
A |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
options |
GgitCheckoutOptions |
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 . |