Gjsify LogoGjsify Logo

Represents blame options.

record

Hierarchy

  • BlameOptions

Index

Constructors

Properties

name: string

Methods

  • free(): void
  • get_maximum_line(): number
  • get_minimum_line(): number
  • get_minimum_match_characters(): 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

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

    Returns OId

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

    Returns OId

  • set_maximum_line(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

  • set_minimum_line(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

  • set_minimum_match_characters(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

  • set_newest_commit(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

  • set_oldest_commit(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