Adds whitespace style changes

This commit is contained in:
Eric Amodio
2017-02-05 13:31:05 -05:00
parent 25007f7b69
commit 2b907788dd
27 changed files with 37 additions and 0 deletions

View File

@@ -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}`);

View File

@@ -19,6 +19,7 @@ interface ILogEntry {
}
export class GitLogParserEnricher implements IGitEnricher<IGitLog> {
private _parseEntries(data: string, isRepoPath: boolean): ILogEntry[] {
if (!data) return undefined;

View File

@@ -41,6 +41,7 @@ export const GitBlameFormat = {
};
export default class Git {
static normalizePath(fileName: string, repoPath?: string) {
return fileName.replace(/\\/g, '/');
}

View File

@@ -53,6 +53,7 @@ interface IGitCommit {
}
export class GitCommit implements IGitCommit {
lines: IGitCommitLine[];
originalFileName?: string;
previousSha?: string;

View File

@@ -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;