mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
Improve conflicts handling when local content changes
This commit is contained in:
@@ -63,11 +63,6 @@ export class SettingsSyncService extends Disposable implements ISettingsSyncServ
|
||||
return this.channel.call('stop');
|
||||
}
|
||||
|
||||
async restart(): Promise<void> {
|
||||
const status = await this.channel.call<SyncStatus>('restart');
|
||||
await this.updateStatus(status);
|
||||
}
|
||||
|
||||
resetLocal(): Promise<void> {
|
||||
return this.channel.call('resetLocal');
|
||||
}
|
||||
|
||||
@@ -79,11 +79,6 @@ export class UserDataSyncService extends Disposable implements IUserDataSyncServ
|
||||
return this.channel.call('stop');
|
||||
}
|
||||
|
||||
async restart(source: SyncSource): Promise<void> {
|
||||
const status = await this.channel.call<SyncStatus>('restart', [source]);
|
||||
await this.updateStatus(status);
|
||||
}
|
||||
|
||||
hasPreviouslySynced(): Promise<boolean> {
|
||||
return this.channel.call('hasPreviouslySynced');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user