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

Method isDir

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

判断是否是目录 @param dirPath 目录路径 @return true: 是 false: 否

(String dirPath)

Source from the content-addressed store, hash-verified

116 * @return {@code true}: 是<br>{@code false}: 否
117 */
118 public static boolean isDir(String dirPath) {
119 return isDir(getFileByPath(dirPath));
120 }
121
122 /**
123 * 判断是否是目录

Callers 4

listFilesInDirMethod · 0.95
searchFileInDirMethod · 0.95
getDirLengthMethod · 0.95

Calls 2

getFileByPathMethod · 0.95
isFileExistsMethod · 0.95

Tested by

no test coverage detected