|
|
|
@@ -68,6 +68,13 @@ public class DVCUtils { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public void mkdir(String path) throws IOException { |
|
|
|
Path targetDir = Paths.get(path); |
|
|
|
if (!Files.exists(targetDir)) { |
|
|
|
Files.createDirectories(targetDir); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public void moveFiles(String sourcePath, String targetPath) throws Exception { |
|
|
|
Path sourceDir = Paths.get(sourcePath); |
|
|
|
Path targetDir = Paths.get(targetPath); |
|
|
|
|