You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm wondering if walkdir::FilterEntry could be extended with a method to make the initial path skip the filter. Alternatively is_hidden could be enhanced to check for . and .. since filter_entry should never try these unless the path was the initial folder.
The example code in the docs should be updated to include this change.
Thanks!
The text was updated successfully, but these errors were encountered:
This is currently recommended to skip hidden directories in the docs:
This works well for
foo
, but breaks if.
is provided instead (playground):Output:
I'm wondering if
walkdir::FilterEntry
could be extended with a method to make the initial path skip the filter. Alternativelyis_hidden
could be enhanced to check for.
and..
sincefilter_entry
should never try these unless the path was the initial folder.The example code in the docs should be updated to include this change.
Thanks!
The text was updated successfully, but these errors were encountered: