Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GitScmProvider

Hierarchy

  • GitScmProvider

Implements

  • ScmProvider

Index

Constructors

Properties

_amendSupport: GitAmendSupport
_statusBarCommands: undefined | ScmCommand[]
commands: CommandService
editorManager: EditorManager
fileService: FileService
git: Git
gitErrorHandler: GitErrorHandler
gitPreferences: GitPreferences
id: "git" = 'git'
input: ScmInput
label: string = ...
labelProvider: LabelProvider
onDidChange: Event<void> = ...
onDidChangeCommitTemplate: Event<string> = ...
onDidChangeCommitTemplateEmitter: Emitter<string> = ...
onDidChangeEmitter: Emitter<void> = ...
onDidChangeStatusBarCommands: Event<undefined | ScmCommand[]> = ...
onDidChangeStatusBarCommandsEmitter: Emitter<undefined | ScmCommand[]> = ...
state: GitScmProvider.State = ...
toDispose: DisposableCollection = ...

Accessors

  • get acceptInputCommand(): undefined | ScmCommand
  • get groups(): ScmResourceGroup[]
  • get rootUri(): string
  • get statusBarCommands(): undefined | ScmCommand[]
  • set statusBarCommands(statusBarCommands: undefined | ScmCommand[]): void

Methods

  • addScmResource(group: ScmResourceGroup, change: GitFileChange): void
  • confirm(paths: string[]): Promise<undefined | boolean>
  • confirmAll(): Promise<undefined | boolean>
  • createGroup(id: string, label: string, changes: GitFileChange[], hideWhenEmpty?: boolean): ScmResourceGroup
  • delete(uri: URI): Promise<void>
  • deleteAll(uris: string[]): Promise<void>
  • discard(uriArg: string | string[]): Promise<void>
  • discardAll(): Promise<void>
  • dispose(): void
  • fireDidChange(): void
  • init(): void
  • open(change: GitFileChange, options?: EditorOpenerOptions): Promise<void>
  • openChange(change: GitFileChange, options?: EditorOpenerOptions): Promise<EditorWidget>
  • relativePath(uri: string): string
  • stage(uriArg: string | string[]): Promise<void>
  • stageAll(): Promise<void>
  • toCommitDetailUri(commitSha: string): URI
  • unstage(uriArg: string | string[]): Promise<void>
  • unstageAll(): Promise<void>