IVersionControlRepositoryService interface
Host service for accessing repository information.
Methods
| get |
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<GitRepository | null>
Returns
Promise<GitRepository | null>