Gjsify LogoGjsify Logo

Represents blame options.

record

Hierarchy

  • BlameOptions

Index

Constructors

Properties

name: string

Methods

  • free(): void
  • getMaximumLine(): number
  • Get the last line in the file to consider. The default is 1.

    Returns number

  • getMinimumLine(): number
  • Get the first line in the file to consider. The default is 1.

    Returns number

  • getMinimumMatchCharacters(): number
  • Get the minimum number of characters that must be detected as moving/copying within a file for it to associate those lines with a parent commit. This is only used when any of the #GGIT_BLAME_TRACK_COPIES_SAME_FILE flag is specified. The default value is 20.

    Returns number

  • getNewestCommit(): OId
  • Get the id of the newest commit to consider in the blame. The default value of %NULL indicates to use HEAD.

    Returns OId

  • getOldestCommit(): OId
  • Get the id of the oldest commit to consider in the blame. Teh default value of %NULL indicates to used HEAD.

    Returns OId

  • setMaximumLine(line: number): void
  • Set the last line in the file to consider. Lines start at 1.

    Parameters

    • line: number

      the last line to consider.

    Returns void

  • setMinimumLine(line: number): void
  • Set the first line in the file to consider. Lines start at 1.

    Parameters

    • line: number

      the first line to consider.

    Returns void

  • setMinimumMatchCharacters(characters: number): void
  • Set the minimum number of characters that must be detected as moving/copying within a file for it to associate those lines with a parent commit. This is only used when any of the #GGIT_BLAME_TRACK_COPIES_ flags are specified. The default value is 20.

    Parameters

    • characters: number

      the minimum number of characters.

    Returns void

  • setNewestCommit(oid: OId): void
  • Set the id of the newest commit to consider in the blame. Specify %NULL to set the default value which indicates to use HEAD.

    Parameters

    • oid: OId

      a #GgitOId or %NULL.

    Returns void

  • setOldestCommit(oid: OId): void
  • Set the id of the oldest commit to consider in the blame. Specify %NULL to set the default value which indicates to consider the first commit without a parent.

    Parameters

    • oid: OId

      a #GgitOId.

    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