Skip to content

Commit

Permalink
Merge branch 'release/1.7.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
tobihagemann committed Jan 6, 2023
2 parents e30cb03 + 312ec47 commit 64b4a98
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ private class CloudProviderFolderMock: CloudProvider {
return Promise(CloudProviderFolderMockError.notMocked)
}

func downloadFile(from cloudPath: CloudPath, to localURL: URL) -> Promise<Void> {
func downloadFile(from cloudPath: CloudPath, to localURL: URL, onTaskCreation: ((URLSessionDownloadTask?) -> Void)?) -> Promise<Void> {
return Promise(CloudProviderFolderMockError.notMocked)
}

func uploadFile(from localURL: URL, to cloudPath: CloudPath, replaceExisting: Bool) -> Promise<CloudItemMetadata> {
func uploadFile(from localURL: URL, to cloudPath: CloudPath, replaceExisting: Bool, onTaskCreation: ((URLSessionUploadTask?) -> Void)?) -> Promise<CloudItemMetadata> {
return Promise(CloudProviderFolderMockError.notMocked)
}

Expand Down

0 comments on commit 64b4a98

Please sign in to comment.