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

Method copy

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

复制文件 @param resourcePath 源文件 @param targetPath 目标文件 @return 是否成功

(String resourcePath, String targetPath)

Source from the content-addressed store, hash-verified

339 * @return 是否成功
340 */
341 public final static boolean copy(String resourcePath, String targetPath) {
342 File file = new File(resourcePath);
343 return copy(file, targetPath);
344 }
345
346 /**
347 * 复制文件

Callers 3

testCopyMethod · 0.95
testCopyMethod · 0.95
copyDirMethod · 0.95

Calls 1

writeMethod · 0.45

Tested by 2

testCopyMethod · 0.76
testCopyMethod · 0.76