mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-28 09:35:41 -05:00
WIP of Stash Explorer commands
# Conflicts: # src/commands/stashApply.ts
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
'use strict';
|
||||
import { ExtensionContext, TreeItem } from 'vscode';
|
||||
import { Event, ExtensionContext, TreeItem} from 'vscode';
|
||||
import { GitService, GitUri } from '../gitService';
|
||||
|
||||
export declare type ResourceType = 'status' | 'branches' | 'repository' | 'branch-history' | 'file-history' | 'stash-history' | 'commit' | 'stash-commit' | 'commit-file';
|
||||
|
||||
export abstract class ExplorerNode {
|
||||
@@ -12,4 +11,7 @@ export abstract class ExplorerNode {
|
||||
|
||||
abstract getChildren(): ExplorerNode[] | Promise<ExplorerNode[]>;
|
||||
abstract getTreeItem(): TreeItem | Promise<TreeItem>;
|
||||
|
||||
onDidChangeTreeData?: Event<ExplorerNode>;
|
||||
refreshNode?(): void;
|
||||
}
|
||||
Reference in New Issue
Block a user