Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.5.0, 3.0.0
-
None
-
None
Description
the method copyTo of DirectoryEntry doesn´t copy a directory inside another directory.
I would suggest change FileUtils.java
in line 496
for (File file : srcDir.listFiles()) {
if (file.isDirectory()) {
//copyDirectory(file, destinationDir);
copyDirectory(file, new File(destinationDir.getAbsolutePath() + File.separator + file.getName()));
Commit 995270e1f1078cf313aa1d17a09472b399f4f909 in branch refs/heads/dev from bowserj
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;h=995270e ]
CB-4514: Making DirectoryCopy Recursive