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

Method syncScm

botloader-vscode/src/workspacemanager.ts:81–87  ·  view source on GitHub ↗
(control: vscode.SourceControl)

Source from the content-addressed store, hash-verified

79 }
80
81 async syncScm(control: vscode.SourceControl) {
82 let root = control.rootUri;
83 let workspace = this.openGuildWorkspaces.find(ws => ws.folder.toString() === root?.toString());
84 if (workspace) {
85 await workspace.syncWorkspaceWithProgress();
86 }
87 }
88
89 async syncOne() {
90 if (this.openGuildWorkspaces.length > 0) {

Callers 1

activateFunction · 0.95

Calls 2

toStringMethod · 0.80

Tested by

no test coverage detected