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

Method exists

catvod/src/main/java/com/github/catvod/utils/Path.java:29–31  ·  view source on GitHub ↗
(String path)

Source from the content-addressed store, hash-verified

27 }
28
29 public static boolean exists(String path) {
30 return new File(path.replace("file://", "")).exists();
31 }
32
33 public static boolean exists(File file) {
34 return file != null && file.exists() && file.length() > 0;

Callers 13

getPathMethod · 0.95
refreshReasonMethod · 0.95
readGzipMethod · 0.95
loadMethod · 0.95
checkUrlMethod · 0.95
extractAssetMethod · 0.80
cacheMethod · 0.80
getWallColorMethod · 0.80
getTaskInfoMethod · 0.80
checkLibraryMethod · 0.80
mkdirMethod · 0.80
localMethod · 0.80

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected