You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by BVanderWilp <gi...@git.apache.org> on 2016/09/24 02:09:26 UTC

[GitHub] commons-io pull request #18: Added CopyToDirectory convenience method

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 <bv...@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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


[GitHub] commons-io pull request #18: Added CopyToDirectory convenience method

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/commons-io/pull/18


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org