-
Notifications
You must be signed in to change notification settings - Fork 9
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
Only show files within the directory #118
Labels
Comments
xsawyerx
added a commit
to xsawyerx/Test-MockFile
that referenced
this issue
Jan 31, 2022
We would grab all files in the directory recursively, but directory listing should only show the directories inside it, not the files within those directories. In other words: foo/ bar/ baz.txt `readdir($path_to_foo)` should show `bar`, not `bar/baz.txt`. Resolves GH cpanel#118
maybe reverse |
xsawyerx
added a commit
to xsawyerx/Test-MockFile
that referenced
this issue
Jan 31, 2022
We would grab all files in the directory recursively, but directory listing should only show the directories inside it, not the files within those directories. In other words: foo/ bar/ baz.txt `readdir($path_to_foo)` should show `bar`, not `bar/baz.txt`. Resolves GH cpanel#118
xsawyerx
added a commit
to xsawyerx/Test-MockFile
that referenced
this issue
Jan 31, 2022
We would grab all files in the directory recursively, but directory listing should only show the directories inside it, not the files within those directories. In other words: foo/ bar/ baz.txt `readdir($path_to_foo)` should show `bar`, not `bar/baz.txt`. Resolves GH cpanel#118 Unfortunately, because of our naive structure types (an array of string), we may find both a directory and a file within that directory, so we also need to uniq'ify the results.
toddr
pushed a commit
that referenced
this issue
Jan 31, 2022
We would grab all files in the directory recursively, but directory listing should only show the directories inside it, not the files within those directories. In other words: foo/ bar/ baz.txt `readdir($path_to_foo)` should show `bar`, not `bar/baz.txt`. Resolves GH #118 Unfortunately, because of our naive structure types (an array of string), we may find both a directory and a file within that directory, so we also need to uniq'ify the results.
this is working correctly now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
UPDATED
The output is currently:
it should be
The text was updated successfully, but these errors were encountered: