OneDrive / onedrive-sdk-ios

OneDrive SDK for iOS
https://dev.onedrive.com
Other
101 stars 88 forks source link

nameConflict not work #208

Open kaich opened 5 years ago

kaich commented 5 years ago
let copyRequest = self.client?.drive()?.items(self.rootPath)?.item(byPath: fromCloudPath)?.copy(withName: toCloudPath, parentReference: toParent)?.request().nameConflict(ODNameConflict.replace())

when I copy a file to the target path. When I use ODNameConflict.replace()). It doesn't work file. It still rename the file when target file exists.