Options
All
  • Public
  • Public/Protected
  • All
Menu

This class wraps the feature branch of the AVH implementation.

Hierarchy

Index

Constructors

Properties

defaultBase: GitFlowBaseBranchType = 'develop'

{@inheritdoc}

type: GitFlowBranchType = 'feature'

{@inheritdoc}

Methods

  • finish(name?: string, msg?: string): Promise<void>
  • {@inheritdoc}

    Parameters

    • Optional name: string

      Name of the branch to be finished.

    • Optional msg: string

      Message to be set for finishing the branch.

    Returns Promise<void>

  • generateBranchName(name?: string): Promise<undefined | string>
  • {@inheritdoc}

    Parameters

    • Optional name: string

      A custom name for the branch.

    Returns Promise<undefined | string>

    The generated branch name.

  • list(withPrefix?: boolean): Promise<string[]>
  • {@inheritdoc}

    Parameters

    • Optional withPrefix: boolean

      Indicates if the entities should be listed with their prefix.

    Returns Promise<string[]>

    The list of the currently opened branch.

  • start(name?: string, base?: string): Promise<string>
  • {@inheritdoc}

    Parameters

    • Optional name: string

      Name of the branch to be started.

    • Optional base: string

      Base of the branch should be started from.

    Returns Promise<string>

    The git reference of the create branch.