#100346 merge single resource

This commit is contained in:
Sandeep Somavarapu
2020-07-12 21:01:26 +02:00
parent 97bf8e14f5
commit 04aa49cbbe
4 changed files with 16 additions and 19 deletions

View File

@@ -181,12 +181,12 @@ class ManualSyncTask implements IManualSyncTask {
]));
}
accept(uri: URI, content: string): Promise<[SyncResource, ISyncResourcePreview][]> {
return this.channel.call('accept', [uri, content]);
accept(resource: URI, content: string): Promise<[SyncResource, ISyncResourcePreview][]> {
return this.channel.call('accept', [resource, content]);
}
merge(): Promise<[SyncResource, ISyncResourcePreview][]> {
return this.channel.call('merge');
merge(resource: URI): Promise<[SyncResource, ISyncResourcePreview][]> {
return this.channel.call('merge', [resource]);
}
pull(): Promise<void> {