Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Variables

Functions

Variables

Const inputBox

The input box for the last source control created by the extension.

deprecated

Use SourceControl.inputBox instead

Functions

createSourceControl

  • createSourceControl(id: string, label: string, rootUri?: Uri): SourceControl
  • Creates a new source control instance.

    Parameters

    • id: string

      An id for the source control. Something short, eg: git.

    • label: string

      A human-readable string for the source control. Eg: Git.

    • Optional rootUri: Uri

      An optional Uri of the root of the source control. Eg: Uri.parse(workspaceRoot).

    Returns SourceControl

    An instance of source control.