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

Method list

catvod/src/main/java/com/github/catvod/utils/Path.java:227–231  ·  view source on GitHub ↗
(File dir)

Source from the content-addressed store, hash-verified

225 }
226
227 public static List<File> list(File dir) {
228 File[] files = dir.listFiles();
229 if (files != null) sort(files);
230 return files == null ? new ArrayList<>() : Arrays.asList(files);
231 }
232
233 public static void clear(File dir) {
234 if (dir == null) return;

Callers 6

updateMethod · 0.95
getDirectorySizeMethod · 0.95
getFolderMethod · 0.95
updateMethod · 0.95
deleteFileMethod · 0.95
clearMethod · 0.95

Calls 1

sortMethod · 0.95

Tested by

no test coverage detected