mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
Git - add worktrees node to the Repositories view (#284224)
* Worktree node - initial implementation * Wire up various commands
This commit is contained in:
8
extensions/git/src/api/git.d.ts
vendored
8
extensions/git/src/api/git.d.ts
vendored
@@ -76,6 +76,14 @@ export interface Remote {
|
||||
readonly isReadOnly: boolean;
|
||||
}
|
||||
|
||||
export interface Worktree {
|
||||
readonly name: string;
|
||||
readonly path: string;
|
||||
readonly ref: string;
|
||||
readonly detached: boolean;
|
||||
readonly commitDetails?: Commit;
|
||||
}
|
||||
|
||||
export const enum Status {
|
||||
INDEX_MODIFIED,
|
||||
INDEX_ADDED,
|
||||
|
||||
Reference in New Issue
Block a user