Show dot files #701
-
Hi! Is it expected behavior that DirectoryLister hides dot files and doesn't include them in .zip-files? It seems earlier in this project there was a config option 'hide_dot_files', which would add expressions '.*' and '*/.*' to the hidden_files array if TRUE: #92 Changing the __construct()-Method did enable dotfile display and zip-inclusion (without clearing cache):
Is there a more clean way to do this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Thanks for pointing this out. Symfony Finder is a dependency of this project (not maintained by us) so we can't change that line directly. However, I do think it's a good idea to allow this to be configurable and will look into a way of accomplishing that. Perhaps there's a way to change the behavior of Symfony Finder which would allow users to define a rule to hide dotfiles in the |
Beta Was this translation helpful? Give feedback.
-
FYI: This has been resolved with the v3.9.0 release. |
Beta Was this translation helpful? Give feedback.
Thanks for pointing this out. Symfony Finder is a dependency of this project (not maintained by us) so we can't change that line directly. However, I do think it's a good idea to allow this to be configurable and will look into a way of accomplishing that. Perhaps there's a way to change the behavior of Symfony Finder which would allow users to define a rule to hide dotfiles in the
.hidden
file. Maybe that should even be the default. 🤔