MCPcopy Create free account
hub / github.com/FongMi/CatVodSpider / fetchRule

Method fetchRule

app/src/main/java/com/github/catvod/spider/Samba.java:29–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 private String extend;
28
29 private void fetchRule() {
30 if (drives != null && !drives.isEmpty()) return;
31 if (extend.startsWith("http")) extend = OkHttp.string(extend);
32 drives = Drive.arrayFrom(extend);
33 }
34
35 private Drive getDrive(String name) {
36 return drives.get(drives.indexOf(new Drive(name)));

Callers 1

initMethod · 0.95

Calls 2

stringMethod · 0.95
arrayFromMethod · 0.95

Tested by

no test coverage detected