Refactor to use workspace folders

Signed-off-by: Sanjula Ganepola <sanjulagane@gmail.com>
This commit is contained in:
Sanjula Ganepola
2024-10-19 20:20:48 -04:00
parent f4a73316f4
commit 49e934e297
26 changed files with 515 additions and 206 deletions

View File

@@ -1,6 +1,8 @@
import { MarkdownString, TreeItem } from "vscode";
import { MarkdownString, TreeItem, WorkspaceFolder } from "vscode";
export interface GithubLocalActionsTreeItem extends TreeItem {
workspaceFolder?: WorkspaceFolder;
getChildren: () => GithubLocalActionsTreeItem[] | Promise<GithubLocalActionsTreeItem[]>;
getToolTip?: () => Promise<MarkdownString | string | undefined>;