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

Method getPath

app/src/main/java/com/github/catvod/spider/Samba.java:101–105  ·  view source on GitHub ↗
(String... texts)

Source from the content-addressed store, hash-verified

99 }
100
101 private String getPath(String... texts) {
102 List<String> items = new ArrayList<>();
103 for (String text : texts) if (!TextUtils.isEmpty(text)) items.add(text);
104 return TextUtils.join("/", items);
105 }
106
107 private List<FileIdBothDirectoryInformation> getList(Drive drive, String path) {
108 List<FileIdBothDirectoryInformation> items = drive.getShare().list(getPath(drive.getSubPath(), path));

Callers 6

categoryContentMethod · 0.95
detailContentMethod · 0.95
getListMethod · 0.95
detailContentMethod · 0.45
getListMethod · 0.45
findSubsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected