mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-31 01:25:44 -05:00
Adds stash commands similar to SCM
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
'use strict';
|
||||
import { Event, ExtensionContext, TreeItem} from 'vscode';
|
||||
import { Command, 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,6 +13,11 @@ export abstract class ExplorerNode {
|
||||
abstract getChildren(): ExplorerNode[] | Promise<ExplorerNode[]>;
|
||||
abstract getTreeItem(): TreeItem | Promise<TreeItem>;
|
||||
|
||||
getCommand(): Command | undefined {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
onDidChangeTreeData?: Event<ExplorerNode>;
|
||||
|
||||
refresh?(): void;
|
||||
}
|
||||
Reference in New Issue
Block a user