Skip to content
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.

nameConflict not work #208

Open
kaich opened this issue May 16, 2019 · 0 comments
Open

nameConflict not work #208

kaich opened this issue May 16, 2019 · 0 comments

Comments

@kaich
Copy link

kaich commented May 16, 2019

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant