GitHub user BVanderWilp opened a pull request: https://github.com/apache/commons-io/pull/18
Added CopyToDirectory convenience method In addressing issue "Add convenience methods for copyToDirectory", the copyToDirectory function was added. It simply calls the pre-existing functions copyDirectoryToDirectory or copyFileToDirectory based on whether or not whether or not the input file is a directory. Additionally, tests were added that replicated the tests for these two functions, but instead used copyToDirectory in order to ensure the behavior was the same. You can merge this pull request into a Git repository by running: $ git pull https://github.com/BVanderWilp/commons-io AddCopyToDirectory Alternatively you can review and apply these changes as the patch at: https://github.com/apache/commons-io/pull/18.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #18 ---- commit e565384c082a602aa887fe27e3dfa2965c1e507d Author: Brad VanderWilp <bvanderw...@gmail.com> Date: 2016-09-24T02:04:49Z Added CopyToDirectory convenience method, along with tests for that method ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org