Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GitRepositoryTracker

The repository tracker watches the selected repository for status changes. It provides a convenient way to listen on status updates.

Hierarchy

  • GitRepositoryTracker

Index

Constructors

Properties

git: Git
gitWatcher: GitWatcher
onGitEventEmitter: Emitter<undefined | GitStatusChangeEvent> = ...
repositoryProvider: GitRepositoryProvider
toDispose: DisposableCollection = ...
updateStatus: DebouncedFunc<(() => Promise<void>)> = ...
workingDirectoryStatus: undefined | WorkingDirectoryStatus

Accessors

  • get onDidChangeRepository(): Event<undefined | Repository>
  • get repositoryUri(): undefined | URI

Methods

  • doInit(): Promise<void>
  • getPath(uri: URI): undefined | string
  • getUri(path: string): undefined | URI
  • init(): void