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

Method mkdir

catvod/src/main/java/com/github/catvod/utils/Path.java:23–27  ·  view source on GitHub ↗
(File file)

Source from the content-addressed store, hash-verified

21 private static final String TAG = Path.class.getSimpleName();
22
23 private static File mkdir(File file) {
24 if (file == null || file.exists()) return file;
25 if (file.mkdirs()) Logger.t(TAG).d("Created dir:" + file);
26 return file;
27 }
28
29 public static boolean exists(String path) {
30 return new File(path.replace("file://", "")).exists();

Callers 13

tvMethod · 0.95
soMethod · 0.95
jsMethod · 0.95
pyMethod · 0.95
jarMethod · 0.95
exoCacheMethod · 0.95
mpvCacheMethod · 0.95
mpvMethod · 0.95
epgMethod · 0.95
jpaMethod · 0.95
thunderMethod · 0.95
rootMethod · 0.95

Calls 1

existsMethod · 0.80

Tested by

no test coverage detected