(group: vscode.SourceControlResourceGroup)
| 266 | } |
| 267 | |
| 268 | async pushScmGroup(group: vscode.SourceControlResourceGroup) { |
| 269 | await vscode.window.withProgress({ location: vscode.ProgressLocation.SourceControl }, async progress => { |
| 270 | let index = await this.readIndexFile(); |
| 271 | |
| 272 | for (let state of this.changedFilesGroup.resourceStates) { |
| 273 | await this.pushSingleChange(state.resourceUri, index); |
| 274 | } |
| 275 | |
| 276 | await this.syncWorkspace(); |
| 277 | await this.apiClient.reloadGuildVm(index.guild.id); |
| 278 | }); |
| 279 | } |
| 280 | |
| 281 | async pushSingleChange(uri: vscode.Uri, index: IndexFile) { |
| 282 | const relativePath = relative(this.folder.path, uri.path); |
nothing calls this directly
no test coverage detected