Ggit.CheckoutOptions – libgit2-glib-1.0 Reference Manual
Packages
libgit2-glib-1.0
Ggit
CheckoutOptions
ancestor_label
baseline
dir_mode
disable_filters
file_mode
file_open_flags
notify_flags
our_label
strategy
target_directory
their_label
CheckoutOptions
get_ancestor_label
get_baseline
get_dir_mode
get_disable_filters
get_file_mode
get_file_open_flags
get_notify_flags
get_our_label
get_paths
get_strategy
get_target_directory
get_their_label
notify
progress
set_ancestor_label
set_baseline
set_dir_mode
set_disable_filters
set_file_mode
set_file_open_flags
set_notify_flags
set_our_label
set_paths
set_strategy
set_target_directory
set_their_label
CheckoutOptions
Object Hierarchy:
Description:
[
CCode
( type_id =
"ggit_checkout_options_get_type ()"
) ]
public
class
CheckoutOptions
:
Object
Represents the options used when doign a checkout.
Namespace:
Ggit
Package:
libgit2-glib-1.0
Content:
Properties:
public
string
ancestor_label
{
get
;
set
; }
public
Tree
baseline
{
get
;
set
; }
public
uint
dir_mode
{
get
;
set
; }
public
bool
disable_filters
{
get
;
set
; }
public
uint
file_mode
{
get
;
set
; }
public
int
file_open_flags
{
get
;
set
; }
public
CheckoutNotifyFlags
notify_flags
{
get
;
set
; }
The checkout notify flags.
public
string
our_label
{
get
;
set
; }
public
CheckoutStrategy
strategy
{
get
;
set
; }
public
string
target_directory
{
get
;
set
; }
public
string
their_label
{
get
;
set
; }
Creation methods:
public
CheckoutOptions
()
Create a new checkout options object.
Methods:
public
unowned
string
?
get_ancestor_label
()
Get the checkout ancestor label.
public
unowned
Tree
?
get_baseline
()
Get the baseline, i.
public
uint
get_dir_mode
()
Get the default checkout directory mode.
public
bool
get_disable_filters
()
Get whether filters are disabled.
public
uint
get_file_mode
()
Get the default checkout file mode.
public
int
get_file_open_flags
()
Get the checkout file open flags.
public
CheckoutNotifyFlags
get_notify_flags
()
Get the checkout notify flags.
public
unowned
string
?
get_our_label
()
Get the checkout our label.
public
unowned
string
[]?
get_paths
()
Get the list of file paths to checkout.
public
CheckoutStrategy
get_strategy
()
Get the checkout strategy.
public
unowned
string
?
get_target_directory
()
Get the checkout target directory.
public
unowned
string
?
get_their_label
()
Get the checkout their label.
public
virtual
int
notify
(
CheckoutNotifyFlags
why,
string
path,
DiffFile
baseline,
DiffFile
target,
DiffFile
workdir)
public
virtual
void
progress
(
string
path,
size_t
completed_steps,
size_t
total_steps)
public
void
set_ancestor_label
(
string
? label)
Set the checkout ancestor label.
public
void
set_baseline
(
Tree
? tree)
Set the baseline, i.
public
void
set_dir_mode
(
uint
dir_mode)
Set the default checkout directory mode.
public
void
set_disable_filters
(
bool
disable)
Set whether to disable filters.
public
void
set_file_mode
(
uint
file_mode)
Set the default checkout file mode.
public
void
set_file_open_flags
(
int
flags)
Set the checkout file open flags.
public
void
set_notify_flags
(
CheckoutNotifyFlags
flags)
Set the checkout notify flags.
public
void
set_our_label
(
string
? label)
Set the checkout our label.
public
void
set_paths
(
string
[]? paths)
Set the list of file paths to checkout.
public
void
set_strategy
(
CheckoutStrategy
strategy)
Set the checkout strategy.
public
void
set_target_directory
(
string
? directory)
Set the checkout target directory.
public
void
set_their_label
(
string
? label)
Set the checkout their label.
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