mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-14 01:25:43 -05:00
Adds shortenSha method
This commit is contained in:
@@ -1061,6 +1061,10 @@ export class GitService extends Disposable {
|
||||
return Git.normalizePath(fileName, repoPath);
|
||||
}
|
||||
|
||||
static shortenSha(sha: string) {
|
||||
return Git.shortenSha(sha);
|
||||
}
|
||||
|
||||
static toGitContentUri(sha: string, shortSha: string, fileName: string, repoPath: string, originalFileName?: string): Uri;
|
||||
static toGitContentUri(commit: GitCommit): Uri;
|
||||
static toGitContentUri(uri: GitUri): Uri;
|
||||
|
||||
Reference in New Issue
Block a user