### Struct

# Ggit MergeOptions

#### Description [src]

    struct GgitMergeOptions {
      /* No available fields */
    }

Represents the options used when merging.

#### Constructors

###### ggit_merge_options_new

Creates a new `GgitMergeOptions`.

#### Instance methods

###### ggit_merge_options_copy

Copies `merge_options` into a newly allocated `GgitMergeOptions`.

###### ggit_merge_options_free

Frees `merge_options`.

###### ggit_merge_options_get_file_favor

Get flags for handling conflicting content.

###### ggit_merge_options_get_file_flags

Get file merging flags.

###### ggit_merge_options_get_flags

Get the tree flags to use for merging.

###### ggit_merge_options_get_rename_threshold

Get the rename threshold (defaults to 50). If `GGIT_MERGE_TREE_FIND_RENAMES` is enabled, added files will be compared with deleted files to determine their similarity. Files that are more similar than the rename threshold (percentage-wise) will be treated as a rename.

###### ggit_merge_options_get_similarity_metric

Get the similarity metric.

###### ggit_merge_options_get_target_limit

Get the maximum number of similarity sources to examine for renames (defaults to 200). If the number of rename candidates (add / delete pairs) is greater than this value, inexact rename detection is aborted.

###### ggit_merge_options_set_file_favor

Set flags for handling conflicting content.

###### ggit_merge_options_set_file_flags

Set file merging flags.

###### ggit_merge_options_set_flags

No description available.

###### ggit_merge_options_set_rename_threshold

Set the rename threshold (defaults to 50). If `GGIT_MERGE_TREE_FIND_RENAMES` is enabled, added files will be compared with deleted files to determine their similarity. Files that are more similar than the rename threshold (percentage-wise) will be treated as a rename.

###### ggit_merge_options_set_similarity_metric

Set the similarity metric, or `NULL` for the default similarity metric.

###### ggit_merge_options_set_target_limit

Set the maximum number of similarity sources to examine for renames (defaults to 200). If the number of rename candidates (add / delete pairs) is greater than this value, inexact rename detection is aborted.