mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-16 01:25:42 -05:00
Adds whitespace style changes
This commit is contained in:
@@ -28,6 +28,7 @@ interface IBlameEntry {
|
||||
}
|
||||
|
||||
export class GitBlameParserEnricher implements IGitEnricher<IGitBlame> {
|
||||
|
||||
constructor(public format: GitBlameFormat) {
|
||||
if (format !== GitBlameFormat.incremental) {
|
||||
throw new Error(`Invalid blame format=${format}`);
|
||||
|
||||
@@ -19,6 +19,7 @@ interface ILogEntry {
|
||||
}
|
||||
|
||||
export class GitLogParserEnricher implements IGitEnricher<IGitLog> {
|
||||
|
||||
private _parseEntries(data: string, isRepoPath: boolean): ILogEntry[] {
|
||||
if (!data) return undefined;
|
||||
|
||||
|
||||
@@ -41,6 +41,7 @@ export const GitBlameFormat = {
|
||||
};
|
||||
|
||||
export default class Git {
|
||||
|
||||
static normalizePath(fileName: string, repoPath?: string) {
|
||||
return fileName.replace(/\\/g, '/');
|
||||
}
|
||||
|
||||
@@ -53,6 +53,7 @@ interface IGitCommit {
|
||||
}
|
||||
|
||||
export class GitCommit implements IGitCommit {
|
||||
|
||||
lines: IGitCommitLine[];
|
||||
originalFileName?: string;
|
||||
previousSha?: string;
|
||||
|
||||
@@ -4,6 +4,7 @@ import { DocumentSchemes } from '../constants';
|
||||
import GitProvider from '../gitProvider';
|
||||
|
||||
export class GitUri extends Uri {
|
||||
|
||||
offset: number;
|
||||
repoPath?: string | undefined;
|
||||
sha?: string | undefined;
|
||||
|
||||
Reference in New Issue
Block a user