mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-14 17:25:28 -05:00
Renames icon references to octicon
This commit is contained in:
@@ -43,8 +43,8 @@ export class GitStatusFile implements IGitStatusFile {
|
||||
return GitUri.getFormattedPath(this.fileName, separator);
|
||||
}
|
||||
|
||||
getIcon() {
|
||||
return getGitStatusIcon(this.status);
|
||||
getOcticon() {
|
||||
return getGitStatusOcticon(this.status);
|
||||
}
|
||||
|
||||
get Uri(): Uri {
|
||||
@@ -70,6 +70,6 @@ const statusOcticonsMap = {
|
||||
U: '$(question)'
|
||||
};
|
||||
|
||||
export function getGitStatusIcon(status: GitStatusFileStatus, missing: string = GlyphChars.Space.repeat(4)): string {
|
||||
export function getGitStatusOcticon(status: GitStatusFileStatus, missing: string = GlyphChars.Space.repeat(4)): string {
|
||||
return statusOcticonsMap[status] || missing;
|
||||
}
|
||||
Reference in New Issue
Block a user