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

Method moveFile

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

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

(String srcFilePath, String destFilePath)

Source from the content-addressed store, hash-verified

452 * @return {@code true}: 移动成功<br>{@code false}: 移动失败
453 */
454 public static boolean moveFile(String srcFilePath, String destFilePath) throws IOException {
455 return moveFile(getFileByPath(srcFilePath), getFileByPath(destFilePath));
456 }
457
458 /**
459 * 移动文件

Callers

nothing calls this directly

Calls 2

getFileByPathMethod · 0.95
copyOrMoveFileMethod · 0.95

Tested by

no test coverage detected