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