-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Hidden files are not deleted #27
Comments
Feel free to submit a PR with tests that fixes this |
Ok I can see why this is happening but have a question because fixing it may cause people some problems when they upgrade. First, the reason it happens is because public function allFiles($directory, $hidden = false) But If we alter (fix) this behaviour then the default So, if we fix it, should we also change |
I'm going to keep this simple and threat this as a bugfix release, thanks! |
Any hidden files in the specified directory are not deleted, even with the default
DeleteEverything
policy. In fact it's currently impossible to write a policy that does delete hidden files.Note that hidden files in any subdirectory are deleted so this is inconsistent behaviour (see #26)
The text was updated successfully, but these errors were encountered: