MCPcopy Create free account
hub / github.com/0opslab/opslabJutil / copyDir

Method copyDir

src/main/java/com/opslab/util/FileUtil.java:463–466  ·  view source on GitHub ↗

复制目录 @param filePath 需要处理的文件 @param targetPath 目标文件

(String filePath, String targetPath)

Source from the content-addressed store, hash-verified

461 * @param targetPath 目标文件
462 */
463 public final static void copyDir(String filePath, String targetPath) {
464 File file = new File(filePath);
465 copyDir(file, targetPath);
466 }
467
468 /**
469 * 复制目录

Callers 4

testCopyDirMethod · 0.95
testCopyDirsMethod · 0.95
testCopyDirMethod · 0.95
testCopyDirsMethod · 0.95

Calls 3

createPathsMethod · 0.95
validMethod · 0.95
copyMethod · 0.95

Tested by 4

testCopyDirMethod · 0.76
testCopyDirsMethod · 0.76
testCopyDirMethod · 0.76
testCopyDirsMethod · 0.76