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

Method mkdirsForFile

src/main/java/cms/utils/ZipUtil.java:402–409  ·  view source on GitHub ↗
(String filePath)

Source from the content-addressed store, hash-verified

400 return path;
401 }
402 private static void mkdirsForFile(String filePath){
403 String absPath=filePath;
404 String tmpPath=absPath.substring(0,absPath.lastIndexOf(File.separator));
405 File tmp=new File(tmpPath);
406 if(!tmp.exists()){
407 tmp.mkdirs();
408 }
409 }
410
411
412

Callers 1

unZipMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected