MCPcopy Create free account
hub / github.com/Botloader/botloader / constructor

Method constructor

botloader-vscode/src/workspacemanager.ts:15–25  ·  view source on GitHub ↗
(apiClient: ApiClient, ws: BotloaderWS, outputChannel: vscode.OutputChannel)

Source from the content-addressed store, hash-verified

13 otherDisposables: vscode.Disposable[] = [];
14
15 constructor(apiClient: ApiClient, ws: BotloaderWS, outputChannel: vscode.OutputChannel) {
16 this.apiClient = apiClient;
17 this.ws = ws;
18 this.outputChannel = outputChannel;
19
20 this.otherDisposables.push(vscode.workspace.onDidChangeWorkspaceFolders(this.workspaceFoldersChange.bind(this)));
21
22 for (let folder of vscode.workspace.workspaceFolders || []) {
23 this.checkFolder(folder.uri);
24 }
25 }
26
27 async workspaceFoldersChange(evt: vscode.WorkspaceFoldersChangeEvent) {
28 for (let added of evt.added) {

Callers

nothing calls this directly

Calls 1

checkFolderMethod · 0.95

Tested by

no test coverage detected