MCPcopy Create free account
hub / github.com/0opslab/opslabJutil / deleteBigFile

Method deleteBigFile

src/main/java/com/opslab/util/FileUtil.java:452–454  ·  view source on GitHub ↗

快速的删除超大的文件 @param file 需要处理的文件 @return 是否成功

(File file)

Source from the content-addressed store, hash-verified

450 * @return 是否成功
451 */
452 public final static boolean deleteBigFile(File file) {
453 return cleanFile(file) && file.delete();
454 }
455
456
457 /**

Callers 2

testDeleteBigFileMethod · 0.95
testDeleteBigFileMethod · 0.95

Calls 2

cleanFileMethod · 0.95
deleteMethod · 0.80

Tested by 2

testDeleteBigFileMethod · 0.76
testDeleteBigFileMethod · 0.76