mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 11:38:51 +01:00
#93960 - Send machine id with data and show the machine in data view
This commit is contained in:
@@ -116,6 +116,10 @@ export class UserDataSyncService extends Disposable implements IUserDataSyncServ
|
||||
return result.map(({ resource, comparableResource }) => ({ resource: URI.revive(resource), comparableResource: URI.revive(comparableResource) }));
|
||||
}
|
||||
|
||||
async getMachineId(resource: SyncResource, syncResourceHandle: ISyncResourceHandle): Promise<string | undefined> {
|
||||
return this.channel.call<string | undefined>('getMachineId', [resource, syncResourceHandle]);
|
||||
}
|
||||
|
||||
private async updateStatus(status: SyncStatus): Promise<void> {
|
||||
this._status = status;
|
||||
this._onDidChangeStatus.fire(status);
|
||||
|
||||
Reference in New Issue
Block a user