Gjsify LogoGjsify Logo

Represents the options used when merging.

record

Hierarchy

  • MergeOptions

Index

Constructors

Properties

name: string

Methods

  • free(): void
  • getRenameThreshold(): 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

  • getTargetLimit(): 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

  • setRenameThreshold(renameThreshold: 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

    • renameThreshold: number

      similarity to consider a file renamed.

    Returns void

  • setTargetLimit(targetLimit: 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

    • targetLimit: 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