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

Method check

app/src/main/java/com/github/catvod/bean/alist/Drive.java:133–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

131 }
132
133 public Drive check() {
134 if (path == null) setPath(Uri.parse(getServer()).getPath());
135 if (version == 0) setVersion(OkHttp.string(settingsApi()).contains("v2.") ? 2 : 3);
136 return this;
137 }
138
139 public String params(String keyword) {
140 if (isNew()) {

Callers 2

getDriveMethod · 0.80
searchContentMethod · 0.80

Calls 7

setPathMethod · 0.95
getServerMethod · 0.95
setVersionMethod · 0.95
stringMethod · 0.95
settingsApiMethod · 0.95
getPathMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected