|
|
@ -40,7 +40,7 @@ export class GitStatusFile implements IGitStatusFile { |
|
|
|
} |
|
|
|
|
|
|
|
getFormattedPath(separator: string = Strings.pad(GlyphChars.Dot, 2, 2)): string { |
|
|
|
return GitUri.getFormattedPath(this.fileName, separator); |
|
|
|
return GitStatusFile.getFormattedPath(this, separator); |
|
|
|
} |
|
|
|
|
|
|
|
getOcticon() { |
|
|
@ -57,6 +57,10 @@ export class GitStatusFile implements IGitStatusFile { |
|
|
|
? `${directory} ${Strings.pad(GlyphChars.ArrowLeft, 1, 1)} ${status.originalFileName}` |
|
|
|
: directory; |
|
|
|
} |
|
|
|
|
|
|
|
static getFormattedPath(status: IGitStatusFile, separator: string = Strings.pad(GlyphChars.Dot, 2, 2)): string { |
|
|
|
return GitUri.getFormattedPath(status.fileName, separator); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
const statusOcticonsMap = { |
|
|
|