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

Foundation: avoid unnecessary disk IO on windows file enumeration #4748

Merged
merged 1 commit into from Jun 13, 2023

Conversation

compnerd
Copy link
Collaborator

@compnerd compnerd commented Jun 4, 2023

Prefer to use the hasDirectoryPath ivar on the URL which should be properly populated when populating the stack. The one special case is when we first initialise the enumerator, where we can assume that we are given a directory path.

@compnerd
Copy link
Collaborator Author

compnerd commented Jun 5, 2023

@swift-ci please test

@compnerd
Copy link
Collaborator Author

@swift-ci please test Windows platform

Prefer to use the `hasDirectoryPath` ivar on the URL which should be
properly populated when populating the stack.  The one special case is
when we first initialise the enumerator, where we can assume that we are
given a directory path.
@compnerd
Copy link
Collaborator Author

@swift-ci please test

@compnerd compnerd merged commit 1fb0560 into apple:main Jun 13, 2023
3 checks passed
@compnerd compnerd deleted the eieio branch June 13, 2023 14:22
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.

None yet

1 participant