Ggit.MergeOptions – libgit2-glib-1.0 Reference Manual
Packages
libgit2-glib-1.0
Ggit
MergeOptions
MergeOptions
copy
free
get_file_favor
get_file_flags
get_flags
get_rename_threshold
get_similarity_metric
get_target_limit
set_file_favor
set_file_flags
set_flags
set_rename_threshold
set_similarity_metric
set_target_limit
MergeOptions
Object Hierarchy:
Description:
[
CCode
( copy_function =
"g_boxed_copy"
, free_function =
"g_boxed_free"
, type_id =
"ggit_merge_options_get_type ()"
) ]
[
Compact
]
public
class
MergeOptions
Represents the options used when merging.
Namespace:
Ggit
Package:
libgit2-glib-1.0
Content:
Creation methods:
public
MergeOptions
()
Creates a new
MergeOptions
.
Methods:
public
MergeOptions
?
copy
()
Copies
this
into a newly allocated
MergeOptions
.
public
void
free
()
Frees
this
.
public
MergeFileFavor
get_file_favor
()
Get flags for handling conflicting content.
public
MergeFileFlags
get_file_flags
()
Get file merging flags.
public
MergeFlags
get_flags
()
Get the tree flags to use for merging.
public
uint
get_rename_threshold
()
Get the rename threshold (defaults to 50).
public
unowned
DiffSimilarityMetric
?
get_similarity_metric
()
Get the similarity metric.
public
uint
get_target_limit
()
Get the maximum number of similarity sources to examine for renames ( defaults to 200).
public
void
set_file_favor
(
MergeFileFavor
file_favor)
Set flags for handling conflicting content.
public
void
set_file_flags
(
MergeFileFlags
file_flags)
Set file merging flags.
public
void
set_flags
(
MergeFlags
flags)
public
void
set_rename_threshold
(
uint
rename_threshold)
Set the rename threshold (defaults to 50).
public
void
set_similarity_metric
(
DiffSimilarityMetric
metric)
Set the similarity metric, or
null
for the default similarity metric.
public
void
set_target_limit
(
uint
target_limit)
Set the maximum number of similarity sources to examine for renames ( defaults to 200).