Top | ![]() |
![]() |
![]() |
![]() |
GgitCloneOptions * | ggit_clone_options_new () |
gboolean | ggit_clone_options_get_is_bare () |
void | ggit_clone_options_set_is_bare () |
const gchar * | ggit_clone_options_get_checkout_branch () |
void | ggit_clone_options_set_checkout_branch () |
GgitCloneOptions *
ggit_clone_options_new (void
);
Creates a new GgitCloneOptions.
gboolean
ggit_clone_options_get_is_bare (GgitCloneOptions *options
);
Gets if the repository will be bare.
void ggit_clone_options_set_is_bare (GgitCloneOptions *options
,gboolean bare
);
Sets whether to clone a bare repository.
const gchar *
ggit_clone_options_get_checkout_branch
(GgitCloneOptions *options
);
Gets the name of the branch to checkout or NULL
.
void ggit_clone_options_set_checkout_branch (GgitCloneOptions *options
,const gchar *checkout_branch
);
Gives the name of the branch to checkout. NULL
means
use the remote's HEAD.