Method
GgitRepositorycheckout_tree
Declaration [src]
gboolean
ggit_repository_checkout_tree (
GgitRepository* repository,
GgitObject* tree,
GgitCheckoutOptions* options,
GError** error
)
Description [src]
Update files in the working tree to reflect the contents of the specified
commit, tag or tree object. If tree is NULL, then the current HEAD 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
tree |
GgitObject |
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. |