MCPcopy Create free account
hub / github.com/FongMi/TV / clear

Method clear

catvod/src/main/java/com/github/catvod/utils/Path.java:233–237  ·  view source on GitHub ↗
(File dir)

Source from the content-addressed store, hash-verified

231 }
232
233 public static void clear(File dir) {
234 if (dir == null) return;
235 if (dir.isDirectory()) for (File file : list(dir)) clear(file);
236 if (dir.delete()) Logger.t(TAG).d("Deleted:" + dir);
237 }
238
239 public static File create(File file) {
240 try {

Callers 13

removeMethod · 0.95
gzipCompressMethod · 0.95
clearCacheMethod · 0.95
doInBackgroundMethod · 0.95
checkMethod · 0.95
deleteMethod · 0.95
restoreMethod · 0.95
cleanOldMethod · 0.95
removeMethod · 0.95
deleteFileMethod · 0.95
releaseMethod · 0.95
moveMethod · 0.95

Calls 2

listMethod · 0.95
deleteMethod · 0.45

Tested by

no test coverage detected