MCPcopy Create free account
hub / github.com/SeanDragon/protools / copyFile

Method copyFile

common/src/main/java/pro/tools/file/ToolFile.java:398–400  ·  view source on GitHub ↗

复制文件 @param srcFilePath 源文件路径 @param destFilePath 目标文件路径 @return true: 复制成功 false: 复制失败

(String srcFilePath, String destFilePath)

Source from the content-addressed store, hash-verified

396 * @return {@code true}: 复制成功<br>{@code false}: 复制失败
397 */
398 public static boolean copyFile(String srcFilePath, String destFilePath) throws IOException {
399 return copyFile(getFileByPath(srcFilePath), getFileByPath(destFilePath));
400 }
401
402 /**
403 * 复制文件

Callers

nothing calls this directly

Calls 2

getFileByPathMethod · 0.95
copyOrMoveFileMethod · 0.95

Tested by

no test coverage detected