Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Directory traversal support #830
Directory traversal support #830
Changes from 1 commit
9cb4f41
1dc5cd4
b59cbcf
2b732b4
121f474
3806724
e35a908
21dbc82
24614b0
e40d40f
b0a6206
0eb96a9
5aad3e5
869d85d
d1b88e7
ab2bebe
f1e6bca
713c7d5
101ffe6
72f48a8
7cf1b2e
19f1b3a
9abb90a
23eb6c1
b79a295
8ce6b55
9b7bd0b
53a0107
dc39a5b
d5983d6
baba607
45d6ee8
efdc2cd
7dd6922
c5165a1
c0346a2
6a82516
0f39b46
d1ad6cc
e6757bc
6f3a30a
711da9c
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about we get rid of this enum and just add
aws_directory_entry_is_file()
,_is_directory()
,_is_symlink()
, etc. Since an entry can be symlink AND file, or symlink AND directory.That's the approach taken by std::filesystem::directory_entry