Improve conflicts handling when local content changes

This commit is contained in:
Sandeep Somavarapu
2020-02-09 13:58:45 +01:00
parent fd2705396f
commit a63ce4df67
11 changed files with 117 additions and 131 deletions

View File

@@ -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');
}