Przeglądaj źródła

Removes useless async

main
Eric Amodio 2 lat temu
rodzic
commit
7825db30d0
1 zmienionych plików z 3 dodań i 3 usunięć
  1. +3
    -3
      src/git/gitProviderService.ts

+ 3
- 3
src/git/gitProviderService.ts Wyświetl plik

@ -1032,19 +1032,19 @@ export class GitProviderService implements Disposable {
}
@log()
async getChangedFilesCount(repoPath: string | Uri, ref?: string): Promise<GitDiffShortStat | undefined> {
getChangedFilesCount(repoPath: string | Uri, ref?: string): Promise<GitDiffShortStat | undefined> {
const { provider, path } = this.getProvider(repoPath);
return provider.getChangedFilesCount(path, ref);
}
@log()
async getCommit(repoPath: string | Uri, ref: string): Promise<GitLogCommit | undefined> {
getCommit(repoPath: string | Uri, ref: string): Promise<GitLogCommit | undefined> {
const { provider, path } = this.getProvider(repoPath);
return provider.getCommit(path, ref);
}
@log()
async getCommitBranches(
getCommitBranches(
repoPath: string | Uri,
ref: string,
options?: { mode?: 'contains' | 'pointsAt'; remotes?: boolean },

Ładowanie…
Anuluj
Zapisz