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

Update filesystem.h #909

Merged
merged 1 commit into from Aug 2, 2023
Merged

Update filesystem.h #909

merged 1 commit into from Aug 2, 2023

Conversation

ravil-mobile
Copy link
Collaborator

Bug fix in std::experimental::filesystem

Bug fix in std::experimental::filesystem
Copy link
Contributor

@davschneller davschneller left a comment

Choose a reason for hiding this comment

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

If we really want to check if a directory exists, then we may have to check if it's a directory in the first place as well. Cf. https://stackoverflow.com/a/24544128
(if that doesn't matter here—then maybe directoryExists is not the best-descriptive name for the method)

@davschneller davschneller added this pull request to the merge queue Aug 2, 2023
Merged via the queue into master with commit e680521 Aug 2, 2023
2 of 5 checks passed
@ravil-mobile
Copy link
Collaborator Author

Thanks for merging! In general, your idea is correct.

@davschneller davschneller deleted the ravil-mobile-patch-1 branch August 4, 2023 14:50
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

2 participants