Gjsify LogoGjsify Logo

Represents the options used when merging.

record

Hierarchy

  • MergeOptions

Index

Constructors

Properties

name: string

Methods

  • free(): void
  • get_rename_threshold(): number
  • 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.

    Returns number

  • get_target_limit(): number
  • 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.

    Returns number

  • set_rename_threshold(rename_threshold: number): void
  • 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.

    Parameters

    • rename_threshold: number

      similarity to consider a file renamed.

    Returns void

  • set_target_limit(target_limit: number): void
  • 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.

    Parameters

    • target_limit: number

      maximum similarity source to examine for renames.

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method