Skip to content

Conversation

jmschonfeld
Copy link
Contributor

When calculating file attributes for an item, we did not previously correctly detect symlinks on Windows. This updates the implementation to correctly detect symlinks and set the file type when populating the attributes dictionary.

@jmschonfeld
Copy link
Contributor Author

@swift-ci please test

Copy link
Member

@compnerd compnerd left a comment

Choose a reason for hiding this comment

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

Ah, nice, you don't need to actually get the destination of the symlink, which makes this code easier.

@jmschonfeld jmschonfeld merged commit b4c77a3 into swiftlang:main Jul 26, 2024
@jmschonfeld jmschonfeld deleted the windows/symlink-file-type branch July 26, 2024 20:14
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