Ggit.CloneOptions – libgit2-glib-1.0 Reference Manual
Packages
libgit2-glib-1.0
Ggit
CloneOptions
CloneOptions
create_remote
create_repository
get_checkout_branch
get_fetch_options
get_is_bare
get_local
set_checkout_branch
set_fetch_options
set_is_bare
set_local
CloneOptions
Object Hierarchy:
Description:
[
CCode
( type_id =
"ggit_clone_options_get_type ()"
) ]
public
class
CloneOptions
:
Object
Represents the options used when cloning.
Namespace:
Ggit
Package:
libgit2-glib-1.0
Content:
Creation methods:
public
CloneOptions
()
Creates a new
CloneOptions
.
Methods:
public
virtual
Remote
?
create_remote
(
Repository
repository,
string
name,
string
url)
throws
Error
public
virtual
Repository
?
create_repository
(
string
path,
bool
is_bare)
throws
Error
public
unowned
string
get_checkout_branch
()
Gets the name of the branch to checkout or
null
.
public
unowned
FetchOptions
get_fetch_options
()
Get the fetch options object or
null
if not set.
public
bool
get_is_bare
()
Gets if the repository will be bare.
public
CloneLocal
get_local
()
Get setting for bypassing the git-aware transport when cloning.
public
void
set_checkout_branch
(
string
? checkout_branch)
Gives the name of the branch to checkout.
public
void
set_fetch_options
(
FetchOptions
? fetch_options)
Set the fetch options object.
public
void
set_is_bare
(
bool
bare)
Sets whether to clone a bare repository.
public
void
set_local
(
CloneLocal
local)
Set setting for bypassing the git-aware transport when cloning.
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref