-
Notifications
You must be signed in to change notification settings - Fork 7
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
ad hoc sub "rm-cache" #10
Comments
It was added to avoid the external dependency with rmtree, which seems kind
of abandoned
|
I use File::Directory::Tree extensively in my tests. |
Also File::DIrectory::Tree is mentioned in perl6 documentation explicitly, see rmdir. |
I've removed rm-cache and replaced with File::Directory::Tree rmtree in the tests. |
rm-cache adds a functionality, encapsulating the directory where the cache is actually hosted. Even if you want to use File::Directory::Tree in rm-cache, rm-cache should stay. Once a functionality is added, you really need a good reason to eliminate it, and if you do it, use deprecation to eliminate it gracefully. So please put it back there. |
If you don't want to use it in the tests, that's fine. But I don't see a good reason for removing a tested and released functionality, even more so when we were still discussing what needed to be done with it. |
Related to #10. Also adds tests to avoid accidental removal.
If you need me to do something for File::Directory::Tree, just let me know. No issues are open now so I assume it's all good until I learn otherwise. |
I found the sub rm-cache was added.
Is there a need for rm-cache, other than in the tests?
If yes, then it should be re-written as a method on the class. Otherwise we have a single ad-hoc sub.
In other words, if I remove rm-cache from Pod-To-Cached, is it going to affect a downstream module.
It was not in the original API and it is not documented.
The text was updated successfully, but these errors were encountered: