Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-11963] FileManager.copyItem doesn't fail when there already is an item at destination path #3368

Closed
hartbit opened this issue Dec 17, 2019 · 2 comments · Fixed by #4821
Closed

Comments

@hartbit
Copy link
Collaborator

hartbit commented Dec 17, 2019

Previous ID SR-11963
Radar rdar://problem/58438122
Original Reporter @hartbit
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Foundation
Labels Bug
Assignee None
Priority Medium

md5: 2e9a79d0bfa43aa0e8f648c528915c3f

Issue Description:

On Darwin, FileManager.copyItem fails when there is already a file or folder at the destination path. CLF doesn't exhibit the same behavior.

@beccadax
Copy link
Contributor

@swift-ci create

@spevans
Copy link
Collaborator

spevans commented Jan 15, 2020

Is this failing on Linux or Darwin? Do you have an example of the failure? The only reason I ask is that there is a test case for this scenario in the swift-corelibs-foundation unit tests and it throws an error correctly on both Darwin Foundation and scl-foundation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants