Re: Compare directories

2017-02-18 Thread J. Fiala
Hi there, I added a PR with the first implementation of DirectoryUtils.isEqual(). https://github.com/apache/commons-io/pull/31/ I initially added some logging statements and commented them out for now as I couldn't find any logger in the existing classes. Please review and let me know if

Re: Compare directories

2017-02-13 Thread Gary Gregory
You can provide a diff file and attach it to a JIRA as a feature request. Or, you can create a PR on GitHub. Unless you see mocks in the test sources, we do not have them ;-) I do not recall seeing such mocks. Feel free to come up with a design that is best for the community to understand and

Re: Compare directories

2017-02-13 Thread J. Fiala
Hello Gary, Thanks, yes DirectoryUtils is probably more descriptive :). I can provide the simple solution, of course this can be tuned & optimized as for the current solution the intersected files will be compared twice. But the current solution offers a low memory footprint as it doesn't

Re: Compare directories

2017-02-12 Thread Gary Gregory
I would put that in its own class. FU is a bad name to start with, esp in this case where you are comparing directories. Gary On Feb 12, 2017 8:21 AM, "J. Fiala" wrote: Hi there, Currently it seems there is no utility method to compare two directory structures: