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

Method list

app/src/main/java/com/github/catvod/utils/Path.java:124–129  ·  view source on GitHub ↗
(@Nullable File dir)

Source from the content-addressed store, hash-verified

122 }
123
124 public static List<File> list(@Nullable File dir) {
125 if (dir == null) return new ArrayList<>();
126 File[] files = dir.listFiles();
127 if (files != null) sort(files);
128 return files == null ? new ArrayList<>() : Arrays.asList(files);
129 }
130
131 public static void clear(File dir) {
132 if (dir == null) return;

Callers 7

clearMethod · 0.95
setFileSubMethod · 0.95
categoryContentMethod · 0.95
detailContentMethod · 0.95
getSubsMethod · 0.95
getListMethod · 0.45
getListMethod · 0.45

Calls 1

sortMethod · 0.95

Tested by

no test coverage detected