Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GitWatcherServer

Service representation communicating between the backend and the frontend.

Hierarchy

Index

Methods

dispose

  • dispose(): void
  • Dispose this object.

    Returns void

Optional getClient

  • Returns undefined | GitWatcherClient

setClient

  • If this server is a proxy to a remote server then a client is used as a local object to handle JSON-RPC messages from the remote server.

    Parameters

    Returns void

unwatchGitChanges

  • unwatchGitChanges(watcher: number): Promise<void>
  • De-registers any previously added watchers identified by the unique watcher argument. If the watcher cannot be found with its unique ID, the request will be rejected.

    Parameters

    • watcher: number

    Returns Promise<void>

watchGitChanges

  • watchGitChanges(repository: Repository): Promise<number>