Commit preview panel at the bottom; open other repositories from a recent list or a folder picker
This commit is contained in:
@@ -58,3 +58,26 @@ export interface LaidOutRow {
|
||||
color: number;
|
||||
segments: Segment[];
|
||||
}
|
||||
|
||||
export interface ChangedFile {
|
||||
/** One letter: A added, M modified, D deleted, R renamed, C copied, T type changed. */
|
||||
status: string;
|
||||
path: string;
|
||||
old_path: string | null;
|
||||
/** Line counts; null for binary files. */
|
||||
added: number | null;
|
||||
deleted: number | null;
|
||||
}
|
||||
|
||||
export interface CommitDetails {
|
||||
hash: string;
|
||||
author: string;
|
||||
author_email: string;
|
||||
author_time: number;
|
||||
committer: string;
|
||||
committer_email: string;
|
||||
commit_time: number;
|
||||
parents: string[];
|
||||
message: string;
|
||||
files: ChangedFile[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user