mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
#85216 methods to know if synced before
This commit is contained in:
@@ -53,6 +53,14 @@ export class SettingsSyncService extends Disposable implements ISettingsSyncServ
|
||||
this.channel.call('stop');
|
||||
}
|
||||
|
||||
hasPreviouslySynced(): Promise<boolean> {
|
||||
return this.channel.call('hasPreviouslySynced');
|
||||
}
|
||||
|
||||
hasRemote(): Promise<boolean> {
|
||||
return this.channel.call('hasRemote');
|
||||
}
|
||||
|
||||
resolveConflicts(conflicts: { key: string, value: any | undefined }[]): Promise<void> {
|
||||
return this.channel.call('resolveConflicts', [conflicts]);
|
||||
}
|
||||
|
||||
@@ -46,6 +46,14 @@ export class UserDataSyncService extends Disposable implements IUserDataSyncServ
|
||||
this.channel.call('stop');
|
||||
}
|
||||
|
||||
hasPreviouslySynced(): Promise<boolean> {
|
||||
return this.channel.call('hasPreviouslySynced');
|
||||
}
|
||||
|
||||
hasRemote(): Promise<boolean> {
|
||||
return this.channel.call('hasRemote');
|
||||
}
|
||||
|
||||
removeExtension(identifier: IExtensionIdentifier): Promise<void> {
|
||||
return this.channel.call('removeExtension', [identifier]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user