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

Method local

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

Source from the content-addressed store, hash-verified

135 }
136
137 public static File local(String path) {
138 path = path.replace("file:/", "");
139 File file = new File(root(), path);
140 return file.exists() ? file : new File(path);
141 }
142
143 public static String read(File file) {
144 try {

Callers 4

parseJarMethod · 0.95
checkUrlMethod · 0.95
onFileMethod · 0.95
getFileMethod · 0.95

Calls 3

rootMethod · 0.95
existsMethod · 0.80
replaceMethod · 0.45

Tested by

no test coverage detected