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

Method isFile

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

判断是否是文件 @param filePath 文件路径 @return true: 是 false: 否

(String filePath)

Source from the content-addressed store, hash-verified

140 * @return {@code true}: 是<br>{@code false}: 否
141 */
142 public static boolean isFile(String filePath) {
143 return isFile(getFileByPath(filePath));
144 }
145
146 /**
147 * 判断是否是文件

Callers 7

getFileLengthMethod · 0.95
createOrExistsFileMethod · 0.45
copyOrMoveDirMethod · 0.45
copyOrMoveFileMethod · 0.45
deleteFileMethod · 0.45
deleteFilesInDirMethod · 0.45

Calls 2

getFileByPathMethod · 0.95
isFileExistsMethod · 0.95

Tested by

no test coverage detected