Top |
Functions
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 () |
GgitCloneLocal | ggit_clone_options_get_local () |
void | ggit_clone_options_set_local () |
GgitFetchOptions * | ggit_clone_options_get_fetch_options () |
void | ggit_clone_options_set_fetch_options () |
Functions
ggit_clone_options_new ()
GgitCloneOptions *
ggit_clone_options_new (void
);
Creates a new GgitCloneOptions.
ggit_clone_options_get_is_bare ()
gboolean
ggit_clone_options_get_is_bare (GgitCloneOptions *options
);
Gets if the repository will be bare.
ggit_clone_options_set_is_bare ()
void ggit_clone_options_set_is_bare (GgitCloneOptions *options
,gboolean bare
);
Sets whether to clone a bare repository.
ggit_clone_options_get_checkout_branch ()
const gchar *
ggit_clone_options_get_checkout_branch
(GgitCloneOptions *options
);
Gets the name of the branch to checkout or NULL
.
ggit_clone_options_set_checkout_branch ()
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.
ggit_clone_options_get_local ()
GgitCloneLocal
ggit_clone_options_get_local (GgitCloneOptions *options
);
Get setting for bypassing the git-aware transport when cloning. The default auto setting bypasses the git-aware transport for local paths, but use a normal fetch for file:// URIs.
ggit_clone_options_set_local ()
void ggit_clone_options_set_local (GgitCloneOptions *options
,GgitCloneLocal local
);
Set setting for bypassing the git-aware transport when cloning. The default auto setting bypasses the git-aware transport for local paths, but use a normal fetch for file:// URIs.
ggit_clone_options_get_fetch_options ()
GgitFetchOptions *
ggit_clone_options_get_fetch_options (GgitCloneOptions *options
);
Get the fetch options object or NULL
if not set.
ggit_clone_options_set_fetch_options ()
void ggit_clone_options_set_fetch_options (GgitCloneOptions *options
,GgitFetchOptions *fetch_options
);
Set the fetch options object.