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

FileManager: Add missing replaceItemAt(_:withItemAt:backupItemName:options:) #2416

Merged
merged 1 commit into from
Jul 16, 2019

Conversation

spevans
Copy link
Contributor

@spevans spevans commented Jul 15, 2019

  • This just wraps replaceItem(at:withItemAt:backupItemName:options:)

…tions:)

- This just wraps replaceItem(at:withItemAt:backupItemName:options:)
@spevans
Copy link
Contributor Author

spevans commented Jul 15, 2019

@swift-ci test linux

Copy link
Contributor

@millenomi millenomi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's not the spelling of that method in the docs (and thus on Darwin): https://developer.apple.com/documentation/foundation/filemanager/1412432-replaceitem

What's the use case here?

@spevans
Copy link
Contributor Author

spevans commented Jul 15, 2019

I was looking at https://developer.apple.com/documentation/foundation/filemanager/2293212-replaceitemat

It also autocompletes in Xcode playgrounds unless Im missing something obvious?

@millenomi
Copy link
Contributor

My bad, you're correct. Thanks for picking this up.

@millenomi
Copy link
Contributor

@swift-ci please test

@spevans spevans merged commit 7c9fb6a into swiftlang:master Jul 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants