MCPcopy Create free account
hub / github.com/TheOfficialFloW/VitaShell / fileListGetEntries

Function fileListGetEntries

file.c:1088–1101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1086}
1087
1088int fileListGetEntries(FileList *list, const char *path, int sort) {
1089 if (!list)
1090 return VITASHELL_ERROR_ILLEGAL_ADDR;
1091
1092 if (isInArchive()) {
1093 return fileListGetArchiveEntries(list, path, sort);
1094 }
1095
1096 if (strcasecmp(path, HOME_PATH) == 0) {
1097 return fileListGetDeviceEntries(list);
1098 }
1099
1100 return fileListGetDirectoryEntries(list, path, sort);
1101}
1102
1103// returns < 0 on error
1104int resolveSimLink(Symlink *symlink, const char *path) {

Callers 1

refreshFileListFunction · 0.85

Calls 4

isInArchiveFunction · 0.85
fileListGetDeviceEntriesFunction · 0.85

Tested by

no test coverage detected