Gjsify LogoGjsify Logo

Represents the options used when reverting.

record

Hierarchy

  • RevertOptions

Index

Constructors

Properties

Methods

Constructors

  • Create a new #GgitRevertOptions. Note that the passed in merge_options and checkout_options are copied by this function, and alterations in either after this call are therefore not reflected in the revert options.

    The mainline indicates which parent to use for the revert when reverting a merge commit.

    Parameters

    • mainline: number

      the mainline.

    • merge_options: MergeOptions

      a #GgitMergeOptions.

    • checkout_options: CheckoutOptions

      a #GgitCheckoutOptions.

    Returns RevertOptions

Properties

name: string

Methods

  • free(): void
  • Create a new #GgitRevertOptions. Note that the passed in merge_options and checkout_options are copied by this function, and alterations in either after this call are therefore not reflected in the revert options.

    The mainline indicates which parent to use for the revert when reverting a merge commit.

    Parameters

    • mainline: number

      the mainline.

    • merge_options: MergeOptions

      a #GgitMergeOptions.

    • checkout_options: CheckoutOptions

      a #GgitCheckoutOptions.

    Returns RevertOptions

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