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

Method readIndexFile

botloader-vscode/src/guildspace.ts:330–336  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

328 }
329
330 async readIndexFile() {
331 const indexPath = vscode.Uri.joinPath(this.folder, ".botloader/index.json");
332 let contents = await vscode.workspace.fs.readFile(indexPath);
333 let decoder = new TextDecoder("utf-8");
334 let parsedIndex: IndexFile = JSON.parse(decoder.decode(contents));
335 return parsedIndex;
336 }
337
338 // synchronizesa the workspaces with the remote scripts
339 // tries to be as non destructive as possible

Callers 4

pushUriMethod · 0.95
pushAllMethod · 0.95
pushScmGroupMethod · 0.95
syncWorkspaceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected