refactor sync to reflect preview, merge, accept & apply.

This commit is contained in:
Sandeep Somavarapu
2020-07-26 22:15:23 +02:00
parent e2de23c683
commit 8ca1cf6293
18 changed files with 657 additions and 991 deletions

View File

@@ -20,7 +20,7 @@ export interface IUserDataSyncPreview {
readonly onDidChangeResources: Event<ReadonlyArray<IUserDataSyncResource>>;
readonly resources: ReadonlyArray<IUserDataSyncResource>;
accept(syncResource: SyncResource, resource: URI, content: string | null): Promise<void>;
accept(syncResource: SyncResource, resource: URI, content?: string | null): Promise<void>;
merge(resource?: URI): Promise<void>;
discard(resource?: URI): Promise<void>;
pull(): Promise<void>;