Upravit

Sdílet prostřednictvím


IVersionControlRepositoryService interface

Host service for accessing repository information.

Methods

getCurrentGitRepository()

Gets the currently selected Git repository. Returns null if a Git repository is not currently selected.

Method Details

getCurrentGitRepository()

Gets the currently selected Git repository. Returns null if a Git repository is not currently selected.

function getCurrentGitRepository(): Promise<null | GitRepository>

Returns

Promise<null | GitRepository>