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

Use URL.resourceValues() for symlink detection #428

Merged

Conversation

neonichu
Copy link
Contributor

@neonichu neonichu commented Aug 14, 2023

This should provide a significant performance improvement on macOS. See this for more discussion on non-macOS platforms.

@neonichu neonichu self-assigned this Aug 14, 2023
@neonichu neonichu force-pushed the use-resourceValues-for-symlink-detection branch 2 times, most recently from 0eff15a to 3091008 Compare August 14, 2023 20:26
@neonichu
Copy link
Contributor Author

@swift-ci please test

This should provide a significant performance improvement on macOS. See [this](swiftlang#400 (comment)]) for more discussion on non-macOS platforms.

Co-authored-by: Pyry Jahkola <pyry.jahkola@iki.fi>
@neonichu neonichu force-pushed the use-resourceValues-for-symlink-detection branch from 3091008 to 06d5f76 Compare August 15, 2023 19:45
@neonichu
Copy link
Contributor Author

@swift-ci please test

Copy link
Contributor

@MaxDesiatov MaxDesiatov left a comment

Choose a reason for hiding this comment

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

Thanks!

@MaxDesiatov
Copy link
Contributor

@swift-ci test

1 similar comment
@MaxDesiatov
Copy link
Contributor

@swift-ci test

@neonichu
Copy link
Contributor Author

@swift-ci please test windows

1 similar comment
@neonichu
Copy link
Contributor Author

@swift-ci please test windows

@neonichu
Copy link
Contributor Author

OK, no Windows, I guess ¯\_(ツ)_/¯

@tomerd
Copy link
Contributor

tomerd commented Aug 15, 2023

probably worth doing cross-repo run via SwiftPM

@neonichu
Copy link
Contributor Author

probably worth doing cross-repo run via SwiftPM

We're already testing SwiftPM through the regular smoke tests.

@neonichu neonichu merged commit c110bd1 into swiftlang:main Aug 15, 2023
@neonichu neonichu deleted the use-resourceValues-for-symlink-detection branch August 15, 2023 23:12
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.

3 participants