Method
GgitRepositoryset_workdir
Declaration [src]
void
ggit_repository_set_workdir (
GgitRepository* repository,
GFile* workdir,
gboolean update_gitlink
)
Description [src]
Sets the working directory of the repository. If update_gitlink is set to
TRUE “core.worktree” will be set in the config if workdir is not the parent
of the .git directory).
| Sets property | Ggit.Repository:workdir |
Parameters
workdir-
Type:
GFileThe working directory.
The data is owned by the caller of the function. update_gitlink-
Type:
gbooleanCreate/update gitlink in workdir.