MCPcopy Create free account
hub / github.com/diyhi/bbs / createFolder

Method createFolder

src/main/java/cms/utils/FileUtil.java:78–87  ·  view source on GitHub ↗

生成文件夹 @param path 路径

(String path)

Source from the content-addressed store, hash-verified

76 * @param path 路径
77 */
78 public static Boolean createFolder(String path){
79
80 //生成文件目录
81 File dirFile = new File(PathUtil.defaultExternalDirectory()+File.separator+path);
82 if (!(dirFile.exists()) && !(dirFile.isDirectory())){
83 dirFile.mkdirs();
84 return true;
85 }
86 return false;
87 }
88
89
90 /**

Callers 15

createFolderMethod · 0.95
handleFileUploadMethod · 0.95
addReportMethod · 0.95
handleFileUploadMethod · 0.95
handleFileUploadMethod · 0.95
handleFileUploadMethod · 0.95
processConfigDataMethod · 0.95
handleLocalUploadMethod · 0.95
handleFileUploadMethod · 0.95
handleLocalUploadMethod · 0.95
uploadFilterWordMethod · 0.95
handleFileMethod · 0.45

Calls 1

Tested by

no test coverage detected