mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-18 09:45:36 -05:00
Adds diff info to the active line hover for uncommitted changes
This commit is contained in:
18
src/git/models/diff.ts
Normal file
18
src/git/models/diff.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
'use strict';
|
||||
|
||||
export interface IGitDiffChunk {
|
||||
chunk?: string;
|
||||
|
||||
original: (string | undefined)[];
|
||||
originalStart: number;
|
||||
originalEnd: number;
|
||||
|
||||
changes: (string | undefined)[];
|
||||
changesStart: number;
|
||||
changesEnd: number;
|
||||
}
|
||||
|
||||
export interface IGitDiff {
|
||||
diff?: string;
|
||||
chunks: IGitDiffChunk[];
|
||||
}
|
||||
@@ -2,6 +2,7 @@
|
||||
export * from './blame';
|
||||
export * from './branch';
|
||||
export * from './commit';
|
||||
export * from './diff';
|
||||
export * from './log';
|
||||
export * from './logCommit';
|
||||
export * from './remote';
|
||||
|
||||
Reference in New Issue
Block a user