MCPcopy Create free account
hub / github.com/GcsSloop/SUtil / mkdir

Method mkdir

library/src/main/java/com/sloop/io/utils/FileUtils.java:119–124  ·  view source on GitHub ↗

创建文件夹 @param DirPath 文件夹路径

(String DirPath)

Source from the content-addressed store, hash-verified

117 * @param DirPath 文件夹路径
118 */
119 public static void mkdir(String DirPath) {
120 File file = new File(DirPath);
121 if (!(file.exists() && file.isDirectory())) {
122 file.mkdirs();
123 }
124 }
125
126 /**
127 * 格式化文件路径

Callers 4

getFileDirMethod · 0.95
getCacheDirMethod · 0.95
getExternalFileDirMethod · 0.95
getExternalCacheDirMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected